Support » Plugin: BP Group Hierarchy » [Plugin: BP Group Hierarchy] Show expanded subgroups by default, nested under their top-level group

  • Resolved kraigg

    (@kraigg)


    Hi there,

    Great plugin! It does almost everything I want for my Buddypress community. But there is one customization I’m trying to achieve.

    Is there a way to show all top-level groups and all the nested subgroups in a hierarchical view by default?

    All groups page (loaded and without any user interaction)
    – Group A
    — subgroup A1
    — subgroup A2
    – Group B
    — subgroup B1
    — subgroup B2

    I think I’m after a combination of both the “Show Group Tree” and “Hide Group List” options.

    “Show Group Tree” lists all the top-level groups and subgroups, but it shows as a flat list and doesn’t have a hierarchical view where you can see which subgroup belongs to which top-level group. And “Hide Group List” shows the hierarchy but I have to click the plus (+) sign to expand each top-level group.

    Is there an easy way to do this? Thank you very much

    http://wordpress.org/extend/plugins/bp-group-hierarchy/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Dean

    (@ddean)

    Hi kraigg,

    This is not currently possible with the plugin. All the sub levels are loaded by JS, and the tree page is not set up to handle more than one level at a time

    Anything is possible, but it would take a lot of changes to the templates/tree/tree-loop.php file to make it happen. If there’s a lot of interest in this, I could write a short howto article or try to wedge it in as an option.

    Let me know if you have any more questions or feature requests!

    Hi David,

    Thank you so much for the response.

    I ended up using a combination of BP Group Hierarchy and Bowes Code (a BuddyPress ShortCodes Plugin) to hard-code a new groups pages. This allows me to display groups in an open hierarchical way by default, but also keep the proper group hierarchy, in case I need to combine them by groups and sub-groups in the future.

    Love your plugin. Keep up the good work!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: BP Group Hierarchy] Show expanded subgroups by default, nested under their top-level group’ is closed to new replies.