This tag is for topics related to the Drupal menu system.

learn more… | top users | synonyms

0
votes
1answer
10 views

Adding Search to Responsive Menu Module

I'm trying to set up responsive menu module (https://drupal.org/project/responsive_menus) and add an advanced search inside of it. I've been unable to get the advanced search to show up in the ...
-2
votes
1answer
23 views

TB mega menu does not work anymore

I'm working with TB mega menu module, two days ago it works perfectly now i have this error : Fatal error: Call to undefined function libraries_get_path() in ...
0
votes
1answer
53 views

Drupal 8 Menu Tree issue in my contrib theme possibly because of “Convert menu tree building to a service.”

Previously, in my Drupal 8 contrib theme, I was rendering the full menu tree as: function gratis_preprocess_page(&$vars, $hook) { // Build the main menu links tree. $vars['primary_nav'] = ...
0
votes
1answer
13 views

Unable to tie type to node, menu and post for blog type of display for radio posts [closed]

Just have been asked to help with a Drupal site. Have new category of resources - radio. Want them to be individual posts like a blog with link to radio show file. Can also be like resources (from ...
0
votes
2answers
34 views

Translate links in Drupal menu page

I have a maybe rather silly question. I have a test website and a live website (both Drupal 7) In the test website I have setup translations for my main-menu using the module "Menu Translation" (it ...
0
votes
0answers
10 views

How can I create a parent menu for my languages and insert them into the main menu?

I am using Bootstrap and when I see the menu in the mobile version the menu of languages is out of place, that's why I would like to put them inside a parent one called languages that appears inside ...
0
votes
0answers
15 views

Panel path based on menu path

is there a way to create a panel path, that includes my "menu path"? Something like that: www.foobar.de/menu-link-title-1/menu_link-title-2/my-panel Greetings Sebastian
0
votes
0answers
28 views

How can I add a menu link on the right side of my menu bar while having the main menu on the left side?

I have a menu bar displaying the main menu on the left side and I would like to add a link to user account on the right side (right corner). I am using the TB mega menu module. Any idea of how I could ...
0
votes
0answers
13 views

Best way to remove secondary links on certain pages

In a custom module I wish to remove the secondary links to certain pages. I do not know the best hook to use. I want to do this at a module level and not in a theme. I thought hook_page_alter may be ...
0
votes
0answers
18 views

Add a page with corresponding menu link in drupal

So. I need to add a page to an existing site that uses drupal. I have never used drupal before, and it seems very confusing. I don't know which version of drupal I have. And I'm pretty sure my ...
0
votes
2answers
26 views

Menu links disabled after saving nodes

A localised Drupal 7 site I'm working on has a navigation menu along the top. Each node is provided with a menu link with a given weight. Nodes are translated into three (non-English) languages (the ...
0
votes
2answers
54 views

My javascript is making the drupal admin menu disappear. Not sure how though

Ok, so any time I try to view a page on my Drupal 7 site while I am using either drupal_add_js(drupal_get_path('module', 'floormap') . '/includes/javaScript.js'); or ...
0
votes
1answer
20 views

Error 'Cannot redeclare ctools_menu_add_tab()' after migrating website

After our hosting provider has migrated our website to a new server this fatal error occurs when accessing the site: Fatal error: Cannot redeclare ctools_menu_add_tab() (previously declared in ...
0
votes
0answers
9 views

Admin Menu links disappeared, showing only Home and Create Content

And there's only one user uid:1 admin. I flushed caches.
0
votes
1answer
17 views

how to get individual classes for each menu list items

I am theming my website and used the following code to print my main menu. <?php $main_menu = variable_get('menu_main_links_source', 'main-menu'); $tree = menu_tree($main_menu); print ...
0
votes
0answers
30 views

how to resolve alignment of submenu of superfish

I am having sum problem with the superfish menu when i take my cursor to a text this submenu is open but the submenu of submenu(art direction n all) is aligned in a proper way. please help me . ...
1
vote
1answer
37 views

How add tab menu item with external link to article node content

I want to add an extra tab menu item to article node type. I mean a new menu item beside view, edit and other tabs only in article node. but this tab menu item has external link to another site and ...
0
votes
1answer
19 views

How to get all nodes of a content type as header menu item?

I want to get all nodes of Article type added dynamically to header menu. Any module that can do it for me?
0
votes
1answer
38 views

how to add link to null path in menu in drupal 7

I have added superfish menu in menu bar in that one of the link have sub-link. How to add a sub-link with null path. Please help me. Thanks
0
votes
0answers
37 views

Responsive Dropdown Menus loads so slow!

I installed the Responsive Dropdown Menus module. Does anybody know how to change it's loading priority? It's loading on the far end and before it does, some users may not see it's actual dropdown ...
0
votes
1answer
17 views

Sub menu creation

I need to create page level menus. User goes to a page off of the main menu and is presented with a sub menu. The menu items need to display / not display based on user roles - similar to the main ...
0
votes
1answer
27 views

Change navigation (sublinks) according to main menu (headlinks)

I would like to create a main menu with some links in it. And when you click on a link in the submenu, the content of the navigation menu changes according to the link clicked in the main menu (= ...
-1
votes
1answer
32 views

Edit display of commerce kickstart shopping cart

How can I display the output of a view in a menu? I made a views that displays the information I want correctly but I don't know how to display the as a block in a menu. I've tried Menu attach ...
0
votes
1answer
21 views

Can I run the 'Toolbar' and 'Admin Menu' at the same time for different roles?

I have three extra roles and I would like to use the Toolbar to use the menu for the Editor role, but the Admin Menu for the roles Adminstrator & SuperAdmin. The one problem I run into is that the ...
0
votes
0answers
20 views

Secondary Links shows up for anonymous

My Secondary Links are set to show User menu, which should show up only when logged in. I gave it a custom link to user orders page (which belongs to Commerce). So to give path to each users orders ...
1
vote
2answers
24 views

Add .active class when certain view is executed using hook_menu

I have a view that is not related with a menu but I need to add .active class to an element of this menu when the view is shown. How can I alter the element adding a class active?
0
votes
0answers
24 views

Remove disabled menu links from menu settings

I have a multilingual site, and when adding content theres an option to add a menu link. Both languages show up in the drop down selection, my goal is to hide/remove the links that are "disabled" (NOT ...
0
votes
1answer
25 views

Menu settings missing from all node edit forms

Apart from what I mention in the title, there are also a couple of other things that give me the impression that they may be related to the same issue: Can’t add link to any menu from ...
0
votes
1answer
35 views

Adding sub menu to Management menu

I'm trying to add a sub-menu under administration, for example: Management: ...... Content Structure ...... My test (sub menu under administration) My view 1 (a view that I ...
1
vote
2answers
39 views

It is possible to set up a menu item with hook_menu that points to an existing path?

The accepted answer here by marcvangend explains how to it with hook_menu_alter. His method works, even if you skip step one (the block View). But just out of interest: Can you do this by means of ...
0
votes
0answers
15 views

mytheme_links__system_main_menu($variables) function not being called

I have created a custom template and i don not want the default menu structure of drupal 7.So I thought of creating a custom structure for this.In my custom theme page.tpl page i have called the the ...
0
votes
1answer
19 views

How to place every node of a content type under a menu item?

I'm looking for a module that will let me add every node of a content type as a link with a common parent link.
0
votes
1answer
22 views

How to create a menu from content type fields found on a node?

I have a content type with 4 text areas I would like to make into 4 separate "pages" by creating a menu dynamically based on fields. Is this possible? Reason I'd like to do this is to create a single ...
0
votes
0answers
22 views

Cannot view basic pages

I disabled the navigation menu and subsequently lost view of some of my content. I re-enabled menu but still cannot see basic pages I created. I can see all my custom content types though. How can I ...
0
votes
1answer
21 views

Calling menu in a certain way from page.tpl.php

My menu structure looks like the structure in the left part of the image. I want the output to look like the right part of the image when I'm in the 'oranges' page for example. This works great if ...
0
votes
3answers
46 views

Hide single menu item from users without a specific role (without 3rd party module)

I have a menu and would like to hide a specific item if the currently authenticated users doesn't have the "editor" role, which i created. Since this is such a small thing, i would like to achieve ...
0
votes
1answer
15 views

Include selected language in a href

I have a few hardcoded links in a block on my homepage. <a href="/info">Info</a> But I want them to include the selected language. e.g. Wen french is selected I want it to link to ...
0
votes
0answers
21 views

Need to create a Custom Menu

Drupal 7 Omega 4 theme I am trying to create a custom menu based on links from both the Main Menu and the Secondary Menu. I need to format the new menu in a specific way. The html for the menu would ...
1
vote
1answer
24 views

Adding multiple menus entries to a view

We have a view with a page attached to it. By default the settings screen pictured below lets you add only a single menu entry for the view. Is it possible to have this featured in two or more menus ...
0
votes
0answers
15 views

Menu items not showing, or even being deleted

I have a menu with 4 items (say: Contact, Work with us, Garage Appointment, List model) in my Drupal 7 site. Those items are nodes having the Form Maker's node type. When I edit any of those menu ...
0
votes
1answer
16 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
25 views

Show a menu item as expanded if on a certain node type

I have a News menu item, which then has children. I need it to be expanded if it is on a news article page, but not expanded on other certain pages. I'm not sure which hook to use. i've played around ...
-3
votes
2answers
41 views

Restructure main menu markup

I need this structure to my drupal main-menu: <div class="list-group"> <a href="#" class="list-group-item active"> Cras justo odio </a> <a href="#" ...
0
votes
1answer
16 views

Get full expanded menu?

How can I render out my main menu as entirely expanded? I am working on mobile navigation and need to have the entire tree rendered out in my code for this to work the way I want it to. I do not want ...
0
votes
1answer
16 views

Custom Main Menu Text

I want to generate custom text for one of the buttons on my pages main menu. Basically, if a user is logged in and has a first name defined in their profile it should read "Fist Name" otherwise it ...
1
vote
1answer
31 views

Why is menu item for custom module not showing?

I'm new to Drupal and about to write my first custom module ("configurator") with help of the drupal documentation. I've implemented the menu hook: function configurator_menu() { $items = ...
0
votes
2answers
24 views

Localize views menus links

I need a way to localize menu Items pointing to Views in a menu that has field translation. I cannot create them neither from views nor manually (weird access denied messages). EDIT: Here ...
0
votes
1answer
20 views

How to hide a sub level menu from being expanded?

When a menu is active, drupal displays the sub-menus of the active menu, but because I use the sub-menus in a separate block via the "menu block" module, I don't want the sub-menu to be shown. How can ...
0
votes
1answer
30 views

Menu Block disappear when changed the access control permission

I have "Menu Block" and "Content Access" modules installed. The menu button of that page disappear when I set that page not to view by "anonymous user". How can I show the Menu Block to everyone but ...
1
vote
2answers
40 views

Is there any Menu Module to show thumb image, content tile when mouse over on menu item

I want to create a main menu bar for my drupal blog, like shown in image Means, when i mouse over on the menu item, it should show, node thumb image, content title. is there any modules ...