Bakery Installation instructions

These steps should be compatible with 1.x and 2.x branches of the Bakery module for Drupal 6 and Drupal 7.

Bakery provides single sign-on (SSO) functionality for two or more sites. Deploy this module on the authoritative "master" Drupal server and the secondary "slave" or subsite server. The master and slave must be on the same domain*.

Enable Bakery on master site

Enable and configure Bakery on the master server first. It is recommended that you use the UID 1 Drupal account for this configuration.

1. Enable Bakery on the modules page
2. Visit the Bakery configuration page to setup Bakery

You must designate a site as the "Bakery account master".

3. Check the box for "Is this the master site?"
4. Enter the full URL of this site including ending forward slash

http://example.org/

For SSO to work between sites, Bakery must know of the other sites, the "slave" or subsites.

5. Enter the full URLs of each slave site, separated by newlines, with ending slashes.

http://store.example.org/
http://groups.example.org/

Two other required fields for Bakery to work are the private key and the cookie domain.

6. Enter a long and secure private key

Install Drupal 7 in one-minute (or Drupal 6) Using Webhost Control Panel Script

2011.04.06 - Working Draft. 04:11-gmt

You can fully install Drupal 7 (D7) or Drupal 6 (D6) in less than one-minute once you know how. All you really need to know about computers is how to use a keyboard and mouse.

I have set up many Drupal 7 baby installations on my webhost account already, but I was curious how long it actually takes. So I did it again and I used a stop-watch.

The time lapse from my being logged into my webhost's control panel page until I was looking at my new site's home page was forty-one seconds.

If you follow these instructions, you can easily install your new Drupal 7 or Drupal 6 website even if this is your first day of using a computer.

And then do it again for fun and time yourself. At a semi-leisurely pace you can do it in one-minute: I bet.

What are your two passwords? Never-mind that question for now, though, if this is your first time reading this page.

Oh— In case you did not know: Drupal is free— as it always has been.

HowTo Get your new Drupal 7 (or D6) WebSite

  1. Get a Free GMail (by Google) eMail account; or any eMail account you might already have will do fine.
  2. Get a webhosting account that features automated scripts; I highly recommend "SimpleScripts" (a free and common WebHost feature).
  3. Log into your webhost account.

Drupal 6 - Adding Images using CCK, Filefield, ImageField, ImageCache, LightBox2, and Insert

Drupal 6 – “Best Practice” for adding images to content.

"Best Practice" in this instance is open to interpretation - this is my first effort at writing for Drupal. Best Practice for Placing Images depends on your individual site, but I think most people seem to like using CCK with Filefield and ImageField (and perhaps Insert module with Lightbox2). You'll also probably need to use ImageCache with this.

Install CCK (checking Content, Content Permissions, and File Field) and then install ImageField and ImageCache (Image Cache UI, Image Api and GD2) and lastly Insert and Lightbox2.

Now go to Image Cache and set up some imagecache presets - such as scale images to 150px wide, 200px wide, 250px wide, scale and crop images to “150px x 100px”, etc.

Adding Thumbnails linked to node
Go to Content and click on "Edit" beside the content type you wish to add images to, and add a new field (using "File" for type of field and "Image" for Widget type). I usually call the field that I am going to use as a thumbnail "add_image" and place it above the body field ((some css later on will tell the imagecache present that will populate this to float left); if I wish to have an image that will float right, I add a second field called "add_image_right" (and add some css to the theme to tell it to float right). Click save.

Profile2

Getting Started with Profile2

  • Creating and Managing Profile Types - To get started with profile2 you will need to create a new profile type or manage the default one. This can be found at admin/structure/profiles
    Profile types found in Admin Structure Menu
  • Creating and Editing your Profile - By default profiles can be created and edited at user/uid/edit. There should be a secondary tab for each profile the user has access to.
  • Private Fields - Private fields are only visible to the profile owner and administrators. Field privacy is managed through the check box at the bottom of field edit page (i.e. /admin/structure/profiles/manage/profile/fields/myfield).
  • Check box at bottom of field edit page

  • Profile Permissions - In order to make profiles creatable and visible to users you will have to manage the permissions for each profile type (located at /admin/people/permissions#module-profile2).

Profile Permissions

Private Download module

Goal of this documentation

Illustrate the setup and use of the Private Download module in combination with the CCK FileField module.

Setup

Your Drupal 6 site has a Public file system but you have files which require access rules. This is the Public/Private File system conundrum. The following tutorial demonstrates how to solve this problem using the Private Download module.

Assumptions

- A Drupal 6 site setup with a Public file system pointing to "sites/default/files".
- CCK and CCK FileField modules are installed and enabled.

Pre-installation environment

- There shouldn't be a private folder in sites/default/files/
$ ls -al sites/default/files
- If your Drupal code is found in www.example.com/drupal then you're in a sub-directory. If this is the case, set the base_url in settings.php to represent this.

Install and enable Private Download

- Visit the Private Download Module project page.
- See additional details here.

Displaying a Thumbnail/Splash Image with Videos

With SWFTools 6.x-3.x, using a flash player (such as Flowplayer) with a splash image is now possible without using swf(). An image may be used by creating two file fields within a node-type. One field will contain an image while the other will contain the video. To enable use, select the 'display fields' tab and configure the following:

Pages

Subscribe with RSS Subscribe to RSS - Needs copy/style review