Closed (fixed)
Project:
Subgroups for Organic groups
Version:
5.x-3.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 May 2008 at 20:16 UTC
Updated:
20 May 2008 at 00:41 UTC
Hello there!
I´ve recently started to play a bit with OG to give some of my users something like a "home page" to chat with their folks.
I want them (users who belong to a certain role) to be able to create subgroups. But NOT to be able to create groups, as the site admin will create it for them. They will only be able to create subgroups.
As far as I know, you can select a certain nodetype to be a group. But can you do that for the "subgroups"?
So, it seems that there isn´t a "subgroup" nodetype?
Thanks for your comments!!!
Rosamunda
Comments
Comment #1
ezra-g commentedAt admin/og/subgroups you can define which types of groups (node types) can have parents but not which types of groups *must* have parents.
If you wish for users of a certain role to only be able to create subgroups (as opposed to groups with no parents), you'll want to restrict the types of nodes they can create to those that have subgroups and also verify that those node types have parent groups during node validation.
See http://api.drupal.org/api/function/hook_nodeapi/5 .
Feel free to reopen this issue if you have further questions.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.