-
Notifications
You must be signed in to change notification settings - Fork 2
Creating Communities
Modules
- For organic group : organic group, entity api module
- For tagging : mltag and porter stemmer module
- Create a content type for community
- Steps : Go to Structure >> create content type and name it as “Community” Go to “Organic groups” tab >> select ‘group' option
- Go to Community >> Manage Fields >> Label = “Image” , Field Type = “Image” , Widget = “Image” and Save >> Save setting >> Max Image Resolution = 300 x 300 , Min Image Resolution = 200 x 200, select “Enable Alt field”, Preview Image Style = bootstyle and Save settings
- Create an article content type for community
-
Steps:
- Go to Structure >> create content type and name it as “Community Article”
- Go to Publishing Options >> select “Promoted to front page” , “Sticky at top of list”, “Create new revision”, “Enable moderation of revisions”
- Go to “Organic groups” tab >> select “Group content” option
-
Go to Community Article >> Manage Fields >> Label = “Image” , Field Type = “Image” , Widget = “Image” and Save >> Save setting >> Max Image Resolution = 300 x 300 , Min Image Resolution = 200 x 200, select “Enable Alt field”, Preview Image Style = bootstyle and Save settings
-
Go to Community Article >> Manage Fields >> Add new field = “Tags” , Field Type = “Term Reference” , Widget = “Autocomplete term widget (tagging)” Go to Manage Display >> Change “Tags” field from “Hidden” to “Visible” Go to Manage Fields >> Edit >> “Tags field settings” and select Number of Values = “Unlimited”
Steps : Go to Configuration >> OG Roles Overview >> Edit group type “Node-Community” >> add 3 roles “Community author”, “Community Editor”, “Community Reviewer”
Images to be added >>>>>>>>>
Chart to be added >>>>>>>>>
Modules : chaos tools, views
Creating a view page for the members of a particular community : Steps: Go to views >> og members >> edit >> title = “Recent Members of %1”
To become a member of any community: Login as an anonymous user and click on “Request group membership” option The membership request can be approved by ‘community admin’ by going to that particular community >> select ‘group’ tab >> people >> change status from pending to active
Assigning role by default to the creator the group: Go to OG settings >> select “administrator member” from “Group Manager Default Roles”
Steps : Go to People >> Permissions and give the “Community Article” permissions according to user need.
Module : Panels, page manager
Enable panels, page manager and view content panes module
Configure panels and page manager settings
- Go to structure >> Pages >> Enable page_manager node view option and edit
- Add a new variant and select both selection rules and contexts option and create variant
- Select “OG: Node is an OG group” option
- Choose the Flexible Builder Layout >> Continue
- Select "Disable Drupal blocks/regions” option (if sidebars are needed do not disable this)
- Hit create variant
Creating Panels for Communities
- Go to Content >> click “Show layout designer”
- Click on “Row” and select “Add Region to Right” and name it “Right”
- In the “Center” Region select “Add Content” and add the following fields:
- Go to “Node” >> Select “Field: Image (field_community_image)” >> continue >> Link image to “Content”
- Go to “Node” >> Select “Node content” >> select “Full Content” from Build mode >> finish
- Go to “View Panes” >> “OG : Content” >> Finish
- In the “Right” Region select “Add Content” and add the following fields:
- Go to “Node" >> Select “Field: Group (group_group)” >> Override title = “Group Membership” ,Change h2 to h3, Select a formatter = “OG subscribe link” >> Field name = “Group Membership” >>Finish
- Go to “Menu” >> Select Navigation >> Override Title = “Create Content” , change h2 to h3 >> Finish
- Go to “Views” >> Select OG User Groups >> Continue >> Override Title = %title , change h2 to h3 >> Finish
- Go to “View Panes” >> Select “OG members” >> Finish
Module : Organic groups access control
Steps :
- Install og access control and enable it
- Go to Configuration >> OG field settings >> Bundle = “Community” , Fields = “Group Visibility” >> Add field
- Go to Content type >> Edit Community >> Manage Fields >> Add “Group Visibility” field
Home
- Introduction
- Content Publishing Workflow
- Localization support for Indian Languages
- Content Versioning
- User Reputation Model
- Content categorization
- Search and tagging
Getting Started
Further Developments