Closed (won't fix)
Project:
Organic Groups Menu (OG Menu)
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 May 2011 at 14:34 UTC
Updated:
4 Jun 2013 at 13:14 UTC
Comments
Comment #1
pelicani commentedMy solution is to duplicate the OG Single block that is part of OG Menu.
The block calls theme_block, which I switched to call theme_nice_menu
eg. changed this ... $content .= theme('block', $block);
to this ... $nice_menu = theme('nice_menu', $delta, $menu['menu_name'], $mlid, 'down');
this fits with what we need to do /today/
but how would this be integrated to optionally display with nicemenu?
at this point I'm just curious to see if anyone else would have a need for this implementation.
... and how would it best be accomplished.
peace,
michael
Comment #2
rv0 commentedClosing old issues. Re-open if needed
Comment #3
ñull commentedI would like to see this at least for OG Single block, but for 7.x-2.x-dev or 7.x-3.x-dev. Better still to see this for the OG Menu : multiple block.
Comment #4
rv0 commentedChecking how nice menus work, there's no place for supporting this in OG Menu code.
This should be handled in a contrib module.
Comment #5
mihai_brb commentedHere is some sample code that worked for us and does the following:
When you are on a group, if this group has a menu it adds the menu in a block called "OG Local Menu for Local Sites". This way you do not have to configure a block of nice menus for each group.