0

I've a site with a main menu, and submenus as block. If I'm on node "50" I want to hide every submenu, except the submenu with the link to node "50".

Question: How can I hide a block based on it's variable menu_name (I think it is this variable) without javascript.

Here's a wireframe, so you can get an overview.

0

I use Menu Block for this purpose. You can specify which levels of which menu you want to show, and the blocks display conditionally depending on the current active trail.

  • It was exactly the module I was looking for. Thank you Danielle for saving time :) – JohannesM Apr 27 '12 at 20:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.