Difference between revisions of "Organic Groups"

From Stadm
Jump to navigationJump to search
(Created page with '==Setting Up Organic Groups== *Enable Organic Groups, Organic Groups Access Control, Organic Groups field access and Organic Groups UI *Create new content type called Groups and …')
 
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
 +
 
==Setting Up Organic Groups==
 
==Setting Up Organic Groups==
 
*Enable Organic Groups, Organic Groups Access Control, Organic Groups field access and Organic Groups UI
 
*Enable Organic Groups, Organic Groups Access Control, Organic Groups field access and Organic Groups UI
*Create new content type called Groups and in the "Group" tab, click the option "Group Type" under "Group"
+
*Create new content type called Groups (or Research Groups) and in the "Group" tab, click the option "Group Type" under "Group"
 
*Save the group
 
*Save the group
 
*Go to Configuration->Organic groups->Organic groups field settings
 
*Go to Configuration->Organic groups->Organic groups field settings
**Select Group under Bundle, Group visibility under Field and then click Add Field
+
**Under bundle, select the name of the content type that will become a group (Group or Research Group)
**Select User under Bundle and Group Audience under Fields.
+
**Choose Group under fields -- this will enable a checkbox on the Group content type that allows administrators to specify which nodes should be treated as groups.
*Set up a group using the content type you just created.
+
**Click the X at the top right corner to close.
**Select private under visibility.
+
===Adding Users to a Group===
===Content Types===
+
A site administrator must give the Group Administrator administrative privileges to that group. When the group administrator is set, that user can add new users to the group and administer all content and settings related to that group.
* You can create a field for linking a node to the new group on a content type by going to the content type configuration and choosing group content type under the Group tab.
+
*Go to a node (or create one) of the 'Group' content type and click edit below the title.
*Go back to the Organic groups fields settings and for the bundle Node->(content type), choose the field "Group content visibility."
+
*Check the 'Group' option and click save.
===Views===
+
*Click Group below the group title.
*Note: This requres og_views module, which is not yet stable for Drupal 7.
+
*Select "Add People"
*To set up a view that displays all nodes of a group, go to Organic groups fields settings
+
*Type a users username into the "User name" textarea and check the Group Administrator roll if he/she is the group PI / administrator.
*Add "Group Views" to the Group bundle.
+
*Click "Add users"
*Return to Group content type settings and under Manage fields, next to the og_views field, click edit
+
 
**Select og_nodes(Default) under Default Values.
+
''Note that the creator of the group node will automatically be registered as the Group Manager -- to remove this user as manager remove the users name under the 'authoring information' section at the bottom of the node's edit page.''
*Under Manage Display, choose Group Views as Format for Group Views field.
+
 
*If you created your group before this step, go to the group you wish to add group views to and select og_nodes(Default)
+
===Group Visibility===
 +
Sometimes a groups content should be restricted to only members. To implement this functionality, a "Group visibility" field must be added to the Group content type.
 +
*Go to Configuration->Organic groups->Organic groups field settings
 +
*Select Group under Bundle, Group visibility under Field and then click Add Field
 +
*Set up a new group node (or edit the existing one) and under the "Group visibility" field choose 'private'.
 +
*Save the node.
 +
===Group Dashboard===
 +
*The group dashboard (where group members can create menus, administer members etc. can be found under the "Group" tab on the group's node.
 
===Removing Groups===
 
===Removing Groups===
 
*In addition to removing the group and all nodes associated, to completely remove a group you must remove it from the 'og' table from in the Drupal database using drush.
 
*In addition to removing the group and all nodes associated, to completely remove a group you must remove it from the 'og' table from in the Drupal database using drush.

Latest revision as of 13:37, 15 January 2015


Setting Up Organic Groups

  • Enable Organic Groups, Organic Groups Access Control, Organic Groups field access and Organic Groups UI
  • Create new content type called Groups (or Research Groups) and in the "Group" tab, click the option "Group Type" under "Group"
  • Save the group
  • Go to Configuration->Organic groups->Organic groups field settings
    • Under bundle, select the name of the content type that will become a group (Group or Research Group)
    • Choose Group under fields -- this will enable a checkbox on the Group content type that allows administrators to specify which nodes should be treated as groups.
    • Click the X at the top right corner to close.

Adding Users to a Group

A site administrator must give the Group Administrator administrative privileges to that group. When the group administrator is set, that user can add new users to the group and administer all content and settings related to that group.

  • Go to a node (or create one) of the 'Group' content type and click edit below the title.
  • Check the 'Group' option and click save.
  • Click Group below the group title.
  • Select "Add People"
  • Type a users username into the "User name" textarea and check the Group Administrator roll if he/she is the group PI / administrator.
  • Click "Add users"

Note that the creator of the group node will automatically be registered as the Group Manager -- to remove this user as manager remove the users name under the 'authoring information' section at the bottom of the node's edit page.

Group Visibility

Sometimes a groups content should be restricted to only members. To implement this functionality, a "Group visibility" field must be added to the Group content type.

  • Go to Configuration->Organic groups->Organic groups field settings
  • Select Group under Bundle, Group visibility under Field and then click Add Field
  • Set up a new group node (or edit the existing one) and under the "Group visibility" field choose 'private'.
  • Save the node.

Group Dashboard

  • The group dashboard (where group members can create menus, administer members etc. can be found under the "Group" tab on the group's node.

Removing Groups

  • In addition to removing the group and all nodes associated, to completely remove a group you must remove it from the 'og' table from in the Drupal database using drush.