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

learn more… | top users | synonyms

0
votes
1answer
20 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
11 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
22 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
1answer
76 views

How to add menu link to block? [closed]

Is it possibile to link menu links to block on the certain subpage? If yes what is the method to do this?
0
votes
0answers
16 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: ...
-1
votes
1answer
26 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 ...
0
votes
0answers
21 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 ...
0
votes
0answers
16 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 ...
1
vote
0answers
60 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
275 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
60 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
27 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
415 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
29 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
43 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
80 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
139 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
30 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
62 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
60 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
204 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
366 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
22 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 ...
-1
votes
2answers
314 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
235 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
221 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
248 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
2k 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
3k 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
60 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
360 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 ...
5
votes
3answers
3k 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
31 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 ...
2
votes
2answers
1k views

Modifying CSS class of Menu Block links?

The Menu Block offers several hooks to override the markup it generates: #theme: menu_link__menu_block__1 menu_link__menu_block__main_menu menu_link__menu_block menu_link__main_menu ...
1
vote
1answer
307 views

Menu Block won't display when a page has a View Block on it

I have Menu Block installed to provide some contextual menus for certain areas of a site. These generally work great. But I have a few pages where I'm adding a Views generated block to the bottom of ...
3
votes
2answers
411 views

Fixing a failed module install

I am on Drupal 7. I was on a hosting company that would give me only 64MB of PHP Memory. That led to several issues when installing new modules. My website would run short of memory and would brake ...
1
vote
2answers
245 views

Menu block doesn't appears where I expect it

I have this kind of menu: "Level 1" has menu item "Level 2", which links to the page with "cat1" url. Then, I have node which have aliases "cat1/[nid]", hence, in my opinion, menu block (provided by ...
0
votes
2answers
1k views

How can we theme menu blocks in drupal 6

I decide to theme menu blocks in my drupal 6.x. I have copied block.tpl.php into my theme folder and I have renamed it to block-menu.tpl.php but it seems it doesn't work !! How can I modify the ...
2
votes
1answer
657 views

sibling taxonomy terms

Drupal 7 I have a vocabulary with hierarchical terms countries and cities. I have a view with context filter=cityA ( parent country A) How I can display into a block all cities from country A ( ...
1
vote
1answer
743 views

URL Alias does not work in Menu-Blocks with i18n (pathauto also installed)

I'm currently facing a problem with Internationalization and the main menu block on my page. So when I created the page about-anna and navigating to /de/about-anna - it works great also with /node/27 ...
1
vote
1answer
1k views

What does menu blocks “Block title as link” option do?

The Menu block module has an option on each block titled "Block title as link". My interpretation of the description combined with some testing, is that if I leave the "Block title" setting out, the ...
0
votes
1answer
169 views

multilingual blocks in drupal6

I use drupal 6 . I have some menus in the site. I 'm going to add other language support to my website. I know how to create multilingual content (nodes) but I don't know how to do it with menus like ...
2
votes
1answer
2k views

Menu Block (or custom menu display): expand immediate children of active item

I need to show a menu which only displays nodes one or two levels into the menu hierarchy, unless these nodes are immediate children of the node currently being viewed, in which case they should also ...
5
votes
1answer
3k views

Menu block is not being displayed on the front page

I'm using the Menu Block content type to provide a list of the secondary level menu items down the left hand side of the website. it works perfectly other than on the front page where I can't seem to ...
3
votes
1answer
1k views

Menu Block: Expand all children of this tree - ignored?

Is anybody using Taxonomy Menu + Menu Block? I have a problem setting Expand all children of this tree, in that it seems to be completely ignored. My sidebar taxonomy menu lists all children expanded, ...