By soezkan on
Hi there,
is there anybody in the forum who could help me
with the menu trails module?
I have two menus. Mainmenu and Submenu.
When I select the first menu item of Mainmenu
the Submenu appears.
Now I want to have the first menu item of Mainmenu
to remain highlighted, while I select menu items within
the according Submenu.
I tried to work with Menu Trails but I do not
understand how it works!
Any other ideas or modules to realize making
menus dependent on each other?
Thanks alot!
Soezkan
Comments
is there really nobody who
is there really nobody who ever worked with the menu trail module?
I don't think Menu Trails
I don't think Menu Trails does entirely what you want. It will add the class "active" to all items in the current menu trail, but menu trails only go to the top of the current menu. According to your description, you have two menus which means the active trail can never include items in both. The best approach will be to make a single menu tree and split portions of that tree into different blocks. I think the Menu Block Split module will help you. You would then make one big menu tree and the top level items would be the Mainmenu in one block and everything below (the Submenu) would be in a second block. If you need more flexibility the Menu Block module is more powerful (read: more complex) than Menu Block Split.