node-specific main-menu
sorry for crossposting. Hi guys, is it possible (with drupal 7 or drupal 6) to implement an node-specific menu? the point is: i would like to display an node-specific main-menu which changes according to the pages. Example: Menu 1 shows A/B/C and menu 2 shows ONLY D/E/F. Thank you! Florian
On Monday 21 March 2011, info@informatik-halle.de wrote:
sorry for crossposting.
Hi guys,
is it possible (with drupal 7 or drupal 6) to implement an node-specific menu? the point is: i would like to display an node-specific main-menu which changes according to the pages. Example: Menu 1 shows A/B/C and menu 2 shows ONLY D/E/F.
Create the menus you want, configure the resultant block to show only when you want it and then enable the block to show in the region you want.
Thank you! Florian
-- ----------------- Bob Hutchinson Midwales dot com -----------------
There are ways to do this in code, but I don't think anyone released a module for it. Menu Block comes close, but requires an alter hook to hit your target. The key is starting the menu tree at the position returned by calling menu_get_item(). If anyone is interested, I have starter code that you could take over and maintain. (d6 but should work in 7) On Mar 21, 2011, at 7:27 PM, Bob Hutchinson <hutchlists@midwales.com> wrote:
On Monday 21 March 2011, info@informatik-halle.de wrote:
sorry for crossposting.
Hi guys,
is it possible (with drupal 7 or drupal 6) to implement an node-specific menu? the point is: i would like to display an node-specific main-menu which changes according to the pages. Example: Menu 1 shows A/B/C and menu 2 shows ONLY D/E/F.
Create the menus you want, configure the resultant block to show only when you want it and then enable the block to show in the region you want.
Thank you! Florian
-- ----------------- Bob Hutchinson Midwales dot com -----------------
participants (3)
-
Bob Hutchinson -
info@informatik-halle.de -
Ken Rickard