1

I have main menu showing only first level links (3 items).

**Home**
**Themes**
-green
-blue
-red
**Jokes**
-long
-short
-medium

I am using Menu block module (to show second level items) + Power menu (to make menu items active if current node has certain term). So when a node with taxonomy "theme" is displayed, the items under "themes" shows up in block menu.

What I would like to do is to somehow inject the block menu items inside primary menu. The main reason is to be able to use responsive menu, that immediately shows user menu options based on node term. (It is more of a usability idea for mobile users - not having to click through full menu).

Question: Do you think it is a good idea to inject such menu using jquery? Or is there a better drupal way of doing this? Thank you

3
  • Is it block menu module or Menu block module or Block per menu module, There is nothing called block menu module.
    – CodeNext
    Jul 24, 2016 at 2:25
  • The main reason is to be able to use responsive menu, that immediately shows user menu options based on node term. So, do you want that the menu items gets changed based on the title of the node. Or do you want Main menu, where user just hover on the item or click on the item it opens one small block under that which shown the all options under that particular menu item, so user can see what that main menu items provide under it and user can navigate easily.
    – CodeNext
    Jul 24, 2016 at 3:32
  • @CodeNext HI, I would like the menu to be changed/altered based on node's taxonomy - this change is happening already - due to the menu_block functionality. The last thing is to move the menu_block items, inside the menu.
    – loparr
    Jul 24, 2016 at 11:34

1 Answer 1

0

What I would like to do is to somehow inject the block menu items inside primary menu.

Or is there a better drupal way of doing this?

TB Mega Menu allows you to put blocks and view blocks inside your menus. Perhaps you should consider using this module instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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