I Need to create multi level of subgroups in organic groups like

enter image description here

like a tree. I don't know how to create using organic groups. Can anyone suggest.


Apparently, there is a module for this: Subgroups for Organic groups

According to the module description,

This module enables a user with the proper permissions to build group hierarchies (or tree) by nesting groups under other groups. Simple or complex group hierarchies can be easily created.

  • Thank you, I installed this module, but it not working properly. I'm new to this group modules
    – Raj.G
    Nov 17 '16 at 12:36

Assuming you already have organic groups installed and working:

  1. Lets assume your content type for organic groups is called "group"
  2. Edit this content type via: admin/structure/types/manage/group
  3. Click on the "Organic Groups" tab for the content type.
  4. Select the "Group content" field in addition to "Group". This ensures that the "Group" content type can also now be part of a group.
  5. Save the content type.

That's all you need to do.

Additionally, installing og_groups module enables propagation of settings, permissions etc. It is only needed if you want to so do.

If you want to see the tree hierarchically, you made need to create views using somethign like views_tree

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.