What's the best way to turn the OG Menu Links into an accordion to show next level links?

I'm specifically looking to use the 'OG Menu : single' block, where I only have to configure once for the content type, rather than configure the specific Organic Group blocks directly for every group content created. There's hundreds of groups, with thousands of pages... there's gotta be a better way than customizing each and every page with it's own separate Menu Accordion block.

Menu Accordion works well and I'd like to have that functionality on the 'OG Menu : single' block.
What's the best way to implement this?

Comments

rv0’s picture

Status: Active » Postponed (maintainer needs more info)

Do you mean you want integration with https://www.drupal.org/project/accordion_menu ?

dargente’s picture

yes thats the module i was referring to. i do see that i can choose a specific og_menu from the accordion_menu block, and i like the way that displays... but getting the 'OG Menu : single' block as an accordion is a different story. I'm using panels and panelizer.

rv0’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

I don't see an easy way to do this from the current code architecture.
However, applying an accordion to a list of items is a very easy thing to do, doesn't require any fancy modules or custom integrations. So perhaps you could ask a themer to implement it for you.
As for the accordion menu module: I see it integrates with menu_block.
We had some demand for this here: #1279666: Menu Block Integration but no patch
As you say you are using panels, you may like the patches over there: #1274250: Provide ctools content type for OG Menu
That seems to provide integration with menu_block too. Perhaps, using those patches, it will work for you.

Feel free to re-open if you have a specific patch for integration with accordion menu.

dargente’s picture

For now, I'm putting all group specific accordion menus in a separate mini-panel, and displaying the appropriate OG Menu based on context of group URLs. I'm looking into automating the process of creating a new Accordion menu when a new group is created. Any insight would be appreciated as I'm looking to create a sub-module. Thanks.