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

ezra-g’s picture

Category: feature » support
Status: Active » Fixed

At 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.