Hello everyone,
i have a block menu (nav menu) in the sidebar first. when i select menu in header, i want display block mainmenu. i want display selected menu and submenu of its. i don't want display other menu. How i can change it? i don't know place store .php, javascript, html use for that. i use bartik theme.
Images my problem
Help me please,
Thank you very much,

Comments

edoras’s picture

I think this can help you:
menu_block

With this module you can create new menu blocks. Chose the second level and you will have the selected menu tree only.

hoangbien’s picture

Thank you, i will test.

konrad1811’s picture

Go into admin->blocks menu

There you find blocks property if you edit one. You can choose where a block should be visible - defining relative path and set "only this side" or "except that site".

Block may be also a menu.

So that on several subpages/nodes or custom pages some menu may be on or off.

This should help.

hoangbien’s picture

I was use block menu it is good. but it not help me for drop down on top menu. I have been written a html & css for mega drop down menu. it show in top menu same as http://www.gavialliance.org/ . How to insert my drop down menu for drupal theme. I want to write a module from my drop down menu. I was used some module (ex: megamenu, superfish, nicemenu). Them not help for me create drop down menu as www.gavialliance.org. What module to do that?
Help me please,
Thank you very much,