Friday, August 8, 2008

og (Organic group) module setup / usage in Drupal

Organic group module enables users to create and manage their own 'groups'. Each group can have subscribers, and maintains a group home page where subscribers communicate amongst themselves. They do so by posting the usual node types: blog, story, page, etc. A block is shown on the group home page which facilitates these posts. The block also provides summary information about the group.

  1. Download and extract the Views module into your /sites/all/modules directory, and enabled Views and Veiws_RSS under Admin->Site Building->Modules.
  2. Download and extract the Organic Groups Module into your sites->all->modules directory.
  3. Go to Admin->Site Building->Modules and enable the OG module.
  4. Go to Admin->Content Management->Content Types and create a new content type. I entered the following:
    • Name = Group
    • Type=groups
    • Description=A collection of people with a common goal
    • Title field label=Group Name
    • Body field label=blank
    • Minimum number of words = 0
    • Explanation or submission guidelines = blank for now
    • Default Options= Published, Not Promoted, Not Sticky, Don't create new revisions
    • Default comment settings = Disabled
    • Save Content Type
  5. Go to Admin>>Organic Groups>>Organic Groups Config and:
    • Access Control: Enable/Disabled your choice (I need to read up on this some more. I've used Taxonomy_Access in the past).
    • Group Details: Pretty self explanitory.
    • Node authoring form: Whatever seems right to you. Under Omitted Content Types, you'll probably want to select the "Group" content type you created above, but that might happen automatically after the next step.
    • Group home page: Under Group home page node types, pick your Group Content type you created above.
    • Email settings: as desired.
    • Member pictures: as desired.
  6. Go to Admin>>User Management>>Access Control and set certain roles to create and edit and edit own Groups.
  7. Now you can go to Create Content>>Group and create your first group.

0 comments: