The Menu Block module provides configurable blocks of menu trees starting with any level of any menu.

learn more… | top users | synonyms

2
votes
1answer
33 views

How can I get the sub-navigation to show up in the sidebar on child pages

Drupal newb here :) So I may not have the Drupal lingo correct in my explanation... I have a menu block called "Sub Navigation". Here are my configurations: (I've inherited this site so I'm not ...
1
vote
1answer
108 views

How do I include the main navigation block twice?

How can I put one block, for example the main navigation block, in two different regions. In Drupal 7 this was possible through the Menu Block module, but as this module won't be ported to Drupal 8, I ...
1
vote
0answers
40 views

Smooth Toggle Menu on Bootstrap sub-theme

I'm using Bootstrap 8.x-3.0-beta2 on Drupal 8.0.1. Originally the menu allow you to expand one at a time. I added the following smooth toggle code for animation effects. $(function(){ $('li ...
0
votes
0answers
34 views

How to avoid Icon beign applied on primary menu?

I made a new menu block using the "Menu block" module and set it in first sidebar and also applied a Icon using the Fontawesome module before the "Home" item. But the issue is that the icon is also ...
1
vote
0answers
37 views

content access + menu block => not shown all links in menu block [closed]

I have menu block and content access modules in my website, and I have some content types restricted and is working well. The problem is when a node is restricted, the link isn't shown and I want to ...
0
votes
0answers
12 views

Losing nice menu path trail on domain access views

I working on a multisite based on Domain Access. Now I have a downloads view that should be used on all domains. (that part work) On this site I also use Nice Menus for the top nav(Block1) and a ...
0
votes
0answers
36 views

The TB Mega Menu Responsive Menu Icon Not Working Correctly

For some reason the responsive menu icon is showing at the bottom and to the left of the menu bar on mobile devices. Specifically on iPads. On Andriod devices the menu icon doesn't even show where it ...
0
votes
1answer
16 views

How to create a menu block which is created by the active trail

I'm trying to create a sidebar block which contains secondary and tertiary menu links for a page which is in the main menu. I would also like to ensure that all children pages also have this same menu ...
0
votes
0answers
8 views

Menu block Issue while using with multiligual i18n module install

I've installed the Menu block module (to display 2-level menus in page side bar etc) and the Internationalization module to create a multilingual site. But when I translate the content in other ...
0
votes
2answers
30 views

On drupal main page menu, number after /node/7/1

i am starting to learn drupal right now. I downloaded a template and I am trying to figure out where are all the components are stored. I encountered a problem where on the menu for website, there ...
0
votes
1answer
23 views

adding block region inside of menu section

I have a menu section in my theme where i display the main-menu menu. This works as expected. with the following code. <?php print theme('links', array( 'links' => ...
0
votes
0answers
48 views

Why my block does not appear on specific page?

I have a menu. This menu is a block: my_block_menu. I want to assign my_block_menu certain pages, not all. For this, I'm going to block Visibility options and select Only the listed pages. So, I ...
4
votes
3answers
215 views

How to create a separate web page menu to be used only on one of my web pages?

My site has a main menu displayed at the top of each page. But one of my pages is about a Parade we host, and it has a lot of content. I would like to create a menu just on the Parade web page. Every ...
1
vote
0answers
15 views

Paragraph Bundle $content always Showing null in .tpl

I am using the paragraph and view modules in Drupal. I have created a paragraph bundle called Section Block, Machine Name: section_block and a custom view name Sectional Landing Page Block that has ...
0
votes
1answer
15 views

How can I make a Menu Block not auto-expand the current page's menu links?

I want my menu block to decide whether to show link children based only on whether the menu link (or the entire menu block) is set to "Expanded", not whether you're currently on the same page as the ...
1
vote
1answer
52 views

TB Mega Menus: Image block doesn't show anything

I'm building my first page with Drupal, creating a subthem of Omega 4, and for the menus I chose to use TB Mega Menu. The problem is that I want one of the columns of the drop down to contain an ...
0
votes
1answer
42 views

How to render a menu_block in a specific language (i18n)

I have a special menu that is part of the page. I include it in the template like $block = module_invoke('menu_block', 'block_view', DEF_BOOKLETS_MBID); print render($block['content']); Menu's are ...
0
votes
1answer
127 views

Programmatically get menu block & alter classes

I'm invoking a menu block programmatically using: module_invoke('menu_block', 'block_view', 13); What I want to do is change and add classes to the wrapper & ul tags of the menu block, is ...
1
vote
1answer
23 views

Add class to Menu Block UL unique to each Menu Block instance?

I've seen lots of answers, but they only allow you to add classes to all Menu Blocks, or to specific Menus. I have multiple menu blocks with the same menu behind them (1st level block, 2nd level ...
2
votes
2answers
58 views

How to not print a Menu Block if a Menu Block exists

I've been using a whitelist/blacklist PHP script to control the display of 2 different menu blocks, and its becoming bloated. Menu_block 1 is the primary menu. Menu_block 2 is the supplementary menu. ...
0
votes
0answers
21 views

Set menu active trail on a non existing menu link?

As the title says, it is possible? Thing is im using menu_block module to render different levels of a single menu but i want to maintain the active trail even so the url has change. Example: ...
0
votes
1answer
61 views

Difference between DRUPAL_CACHE_PER_PAGE and DRUPAL_NO_CACHE

What is the difference between DRUPAL_CACHE_PER_PAGE and DRUPAL_NO_CACHE? I'm developing a module that will generate 2 blocks for menu and it's sub-menu in different blocks and can't decide between ...
1
vote
0answers
37 views

Menu Block Appears When Page NOT in Any Menus

Let me describe the site/block issue: The site has multiple menus. We use a menu block to generate a left-column menu that follows active trail. Attached is a screencap of the settings we're using ...
1
vote
0answers
20 views

Solution for our menu

I have this scenario: - We have domain access to show different content by location including menus - we have one top menu to show different "home pages" where the user could target information. Home ...
2
votes
0answers
132 views

Exported menu blocks to a feature module via FE block they are not created - Why?

I am using menu blocks and context to create menus on a site. I have created the menu blocks and added contexts for there use (they are working on my local dev). I have exported the menu blocks to ...
0
votes
1answer
492 views

Implement Menu block hook function hook_menu_block_tree_alter() to add/change/remove classes

I have installed the plugin Menu block and I am very happy with the result, but I'd like to change some classes in the structure. This is what I get right now: <div class="content"> <ul ...
0
votes
1answer
103 views

Is it possible to hide a menu item using menu blocks in context based on user roles in Drupal 7

I am using the Menu block module to create menu blocks and have them attached to the menu in Drupal 7. I am also using the Context module to display the menu and items on different pages. I have a ...
1
vote
0answers
46 views

how to programatically output menu submenu

I know that the menu_block module allows you to display a sub menu of a menu with a specified menu depth. How can I do this programatically? I see that using menu_tree_page_data() you can set a ...
0
votes
2answers
1k views

How to create navigation menu on sidebar with different navigation links displayed on different pages?

I am using Drupal-7. I have created Dropdown menu with Megamenu. Now, I wanted to create navigation menu on left side that menu items will be different on each page. I have created navigation block ...
0
votes
2answers
30 views

Main Navigation Menu: Throwing out the old and making a new

I've fought blood, tooth, and nail with the built in Main Menu in Drupal 7, and finally I've given up. What I've done instead is implemented a block which I've placed into the Main Navigation area, ...
0
votes
1answer
45 views

How to create a custom menu

I have created a menu called "navbar". In this menu, there is 4 links at level 1. Each of these links has 3 sublinks (level 2). All links in the menu point to a different page. For example, I have on ...
0
votes
2answers
87 views

A node in two different points

I am using Drupal 7 and i have the following problem: I have The content type: issue, Two views (which select nodes from the content type issue) with each view appearing from a different menu ...
0
votes
2answers
190 views

Hide menu item in specific block/region

I have two instances of main_menu on a page. One is in the header, using superfish. The other is in the sidebar, using menu_block. I want to hide a menu item in the sidebar and show it in the header. ...
0
votes
1answer
35 views

Menu Block - How to make a new menu automatically available?

How to automatically set a newly created menu as available so that it can immediately be used when configured for "the menu selected by the page"? I've tried setting the 'menu_block_menu_order' ...
0
votes
0answers
76 views

Modify menu_block

I want to add some html tags to specefic block in my site . This is my block and bold one is the html tag i want to add . <div id="block-menu-block-1" class="block block-menu-block notactive ...
1
vote
0answers
75 views

Display -1st level of active menu item

I am using the menu block module with panels to add a sidebar menu to each page. It works great, except that where the options for "Starting level will be" are "active menu item" and "children of ...
2
votes
1answer
320 views

How to add content type as a menu item child without displaying the link in the menu?

I recently found menu block module, which displays my submenu very nicely. Here's the menu hierarchy: Home About News & events -- News -- Events Contact So when I go to the News & events page ...
0
votes
1answer
493 views

Display main menu expanded in footer, drop down in header

I'm trying to show the Main menu in two places, once as a dropdown menu at the top, then again in the footer as a fully expanded (non-collapsible) set of links. I'm using the Superfish module to ...
0
votes
1answer
24 views

Show two copies of same menu

Let's say I have Main Menu and I want to show it in header and in footer, to achieve that I can use Menu Block module, but using it lets say I disable one link in Main Menu, it also disables it in the ...
0
votes
2answers
367 views

Why is the Devel block displaying the Performance, Execute PHP and Switch User blocks?

My Devel block is displaying the Performance, Switch Users and Execute PHP blocks as well in the sidebar, making it very unsightly and bloated as well. I can't see what I could have done to cause ...
0
votes
0answers
45 views

Views and default menu block on the same page

I created a view to display a content type listing in a grid format. However, I cannot get the navigation menu block to show up together with this view. This is the page using views. This is a ...
1
vote
0answers
259 views

Drupal7: Print whole expanded Main Menu in page.tpl.php / Menu Block

I looking for a way to use the drupal render() function to show the entire expanded main menu. Right now im using this piece of code, but because i use the "menu blocks" module from the 3rd level on, ...
0
votes
1answer
244 views

Add rel=“nofollow” to menu displayed by menu_block module

I am trying to add rel="nofollow" attribute to menu links output by the menu_block module. My core menu is called Main Menu, which I do not want to modify as it is used for main navigation. However ...
1
vote
0answers
290 views

Get rid of default block style for drupal menu block module

After lots of trying, i finally managed to find out how to make my menus active in drupal 7, using the drupal menu block module. There is one nasty thing which i can't find just a simple solution ...
0
votes
1answer
3k views

Add Menu Block (module) Menu To Page tpl

Hello i am trying to avoid using the block system with drupal. Im using panels and i dont like having to add the main content if i use any block in a region. anyhow.... i was hoping to add a menu ...
0
votes
3answers
4k views

Expand sub-menus on hover in a menu block

I need to show menus expanded in the sidebar. I used the menu blocks to show the submenus. But now the problems is when I hover on the parent menu initially it is not showing the submenus which was ...
1
vote
0answers
64 views

Extra menu_block showing on one page only

I have a single page that is rendering an additional menu_block that repeats my sub-navigation link (which are displayed in a side column). I have a Primary Link in the main navigation that has two ...
1
vote
2answers
381 views

menus as a block in drupal7

i have created a navigation menu like home, services, about us, so on and then contact us .. each parent has many child and their own child . it was created sucessfully. Now what i want to show ...
6
votes
3answers
4k views

Add class to top-level ul using menu_block

I am using the Menu Block Module to generate my main and sub navs. I want to add a class to the ul for just the top level of the main nav. As I understand it, I can do something like this: function ...
1
vote
0answers
32 views

How to trace menu links not linked to a node in views

I am using drupal 7.18 + views 7.x-3.5 + menu node views 7.x.1 I managed to make blocks of the children of the active menu item, using views and menu node views based on the menu node id contextual ...