Postponed
Project:
Organic Groups Menu (OG Menu)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2011 at 21:45 UTC
Updated:
12 Sep 2014 at 06:10 UTC
Jump to comment: Most recent
Comments
Comment #1
gmclelland commentedJust curious if anyone thinks this is possible? Menu Block does provide an api.
Comment #2
gmclelland commentedWell, as a start I added this to og_menu.module:
This allows the OG Menu : single and OG Menu : multiple to show up when adding a Menu Block, but after I configured a menu block using OG Menu : single, it showed up on the block admin page but nothing displayed when I placed the block into a region.
Back to the drawing board. I'm trying to do all of this because I don't want the OG Menu : single and OG Menu : multiple menu items to break my layout. I need to use Menu Block to limit the depth of the menu items that are displayed.
Comment #3
pontus_nilssonAs I see it what hook_menu_block_get_menus() does is to tell menu block about additional menus. But there is no menu called og_single_menu_block or og_multi_menu_block. I'll post back with my findings.
Comment #4
gmclelland commentedThat explains why it doesn't work. Thanks for explaining that. I'm not sure how to work around this?
Comment #5
rv0 commentedNo clue about this either.
Comment #6
gmclelland commentedFor anyone who is interested I noticed http://drupal.org/project/domain_menu_block is similar to og_menu. Domain Menu Block provides a menu_block per domain, og_menu provides a block/s per group. Perhaps there is some ideas that can be used from that project.
Maybe og_single_menu_block or og_multi_menu_block could be replaced with a generated menu_block like Domain Menu Block does?
Any thoughts?
Comment #7
rv0 commentedlooks very cool
will check it out and push it to dev if its worthwhile
Comment #8
rv0 commentedPerhaps something to look at in 3.x
Comment #9
rv0 commentedSome menu_block in #1274250: Provide ctools content type for OG Menu
Comment #10
mccrodp commentedHere's a sandbox project for integrating with menu block for a particular use case.
It may not help many directly but provides an indication on how you might go about this in a custom module in your own project for now.