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

learn more… | top users | synonyms

0
votes
1answer
13 views

How to automatically create subitems based on node entries?

I have a content type called "brand", and about 30 brands. I want them to automatically appear as a list of items below a main parent menu item. Is there something that does this already?
0
votes
0answers
2 views

Translating menu item

According to https://www.drupal.org/node/323101, we should not use t() for the title and description of each menu item anymore. I have some menu items listed in Main menu that are generated ...
0
votes
1answer
13 views

How to force Local Task Menu to display on specific pages

I’ve made a tabbed display out of my Local Task Menu as imaged. Some of the extra buttons are ‘pages’ as made with ‘pages manager’ . Here you can assign the page to the Local Menu; when doing so ...
0
votes
3answers
55 views

How to implement jQuery Accordion for a Menu?

I'm looking to implement something like the Accordion Menu module, but unfortunately that module has issues with Menu Block and other modules... so what's the best way to implement the jQuery ...
0
votes
2answers
19 views

How to add custom login logout links in drupal7 bootstrap theme?

I am new to drupal, but i had a requirement, my current site using bootstrap theme(drupal 7) . Previously there was no login and logout buttons on header. Today i got html login and logout strip from ...
0
votes
1answer
24 views

Display an image in menu generated from taxonomy terms

I am using Drupal 7 with Taxonomy and Taxonomy Field Menu to generate a menu based on taxonomy terms (Categories) - including node links (the terms themselves are not linked, just the nodes, in case ...
0
votes
0answers
16 views

How to load different menus according to context?

This should be seemingly simple. I've bought a Drupal theme and it doesn't allow custom menu modules to be used for displaying menu items, e.g. menu_block or tb_mega_menu. It displays menu items from ...
0
votes
0answers
4 views

How to get the parent title of a custom menu active item

When using a custom menu I am able to use the menu_block module to layout different combinations of parent -> child levels of the menu in various areas of my templates which is great, but now I also ...
0
votes
1answer
12 views

How to include Vertical menu in the page template

I am trying to build a theme for my own use in Drupal 7. My main menu should be vertical in the left side bar. No dropdown, only one level. I have customized it in my styles.css as #vertical-menu but ...
0
votes
0answers
11 views

Menu link description translation with apostrophe changed in '

I'm having trouble with showing the description of a menu link in different languages. I'm using the module Menu Block for Drupal 7 to have submenus. I'm using a sort of tag language called Drupal ...
0
votes
2answers
24 views

drupal 7 parent menu item will not hide for authenticated user

Could any one give me some ideas on what i need to check please? I wish i could just show the site, but of course it' for my company, so I can't, but I have a menu bar at top of my page home, ...
0
votes
0answers
19 views

Drupal doesn't output list of children on custom module page

I am on Drupal 7. I want to create a page that lists its children, the same way you see the list of links in 'admin/structure' (Blocks, Content types, Entity types ...). I have modified child 1 and ...
1
vote
1answer
21 views

How can I change the Available Menus to all, programmatically, for a specific content type?

Hello I'm trying to alter a content-type's menu options by code, since there will be new menus that keep being created on the site and I can't keep going back to the content type to keep adding every ...
0
votes
2answers
22 views

Adding icons from the right or left to menu H2 or Li

Let's say I want to add Icons from the right\left of a Drupal menu H2 or li (such as in the place in the picture)... Actually I would also like to put a picture as a menu item by itself... What is ...
0
votes
1answer
14 views

I need a function to set a menu item's class to active based on if a keyword is in the URL

Weird i know but as per the clients request i need to do the following: if node being view is in a directory like this /panelist/panelist-name or this /moderator/moderator-name i need to set the a ...
0
votes
1answer
29 views

Menu link on hover is showing & instead of &

I have a Webform that provides a menu link. The webform is available in three languages (dutch, french, english). For the dutch version I have a menu title of Informatie and description Vragen & ...
-1
votes
0answers
15 views

NavBar only on a mobile?

I will love to have in D7 the NavBar Menu whenever I'm on my phone but whenever I'm at my desktop I will love to have Admin Menu. The ability of having both menu is possible ? Have anyone done this ...
0
votes
0answers
35 views

Close expanded superfish accordion menu on click outside the menu

I have two superfish menus on the same block region which changes to accordion for touch devices based on width. When one of the menus is open i need the other to be closed since they overlap on ...
0
votes
0answers
11 views

Display Local tasks from one page to another

I have a menu structure like this: $items["foo"] -> MENU_NORMAL_ITEM $items["foo/bar"] -> MENU_DEFAULT_LOCAL_TASK $items["foo/something"] -> MENU_LOCAL_TASK $items["foo/bar/bazz/%"] -> MENU_CALLBACK ...
0
votes
2answers
20 views

Is it possible for the Contact page to have 2 URL aliases? or clone it?

My client is wants the Contact page to be available in more than one place in the menu system. Problem is this would interfere with how sidebar menus load. so ideally it would be nice to have 2 URL ...
0
votes
0answers
19 views

Mobile sliding menu

I am trying to add menu like this - http://mmenu.frebsite.nl/download.php demo but it needs jquery_update which is breaking up admin panel. Please help me to add this. Also even after enabling it is ...
2
votes
0answers
25 views

How to reorder Book module menu through Database?

How to re-order Book menu faster, optionally through Database? I have a big problem to reorder menu/ navigation for Book module.... It is supposed by drag-and-drop - I have 318 items in list , some ...
0
votes
2answers
35 views

How do i print username into url after user logs in

currently i am developing a drupal site and i need to print username into url after user logs in ... loging is done with Login destinations module ... usually user is not redirectet but stays at the ...
0
votes
3answers
59 views

How to find url of content-type?

I am new in Drupal I have an article website, and it has some category like History, Sport, Graphic, Music and etc. But when I add some content-type for each of these and when I visit that post, I ...
0
votes
1answer
18 views

Assign Node To Other Menus Besides Main Menu

Is there a module or technique which will allow us to assign a node to a menu -besides- the Main Menu. Users find it annoying that the only menu they can assign a new page to has to be based on the ...
0
votes
1answer
9 views

Need “carat” for currently active Superfish menu item

I have a Drupal 7 Superfish menu (from the Superfish module) that I would like to add a "carat" to for the currently active menu item. Here is my current menu: But I would like a menu where the ...
0
votes
1answer
14 views

Change ubercart default path

My clients really really insist that the path of the cart pages will be store/* instead of cart/* Also, an alias is not good enough. They want a totally unrelated page to appear in the path: cart ...
0
votes
2answers
28 views

How to add a custom url to user menu?

I've create a theme for user login page with different style and everything is good. When a user log in to my site in his profile he can see a user menu and add content link. I don't want to show ...
0
votes
0answers
22 views

Custom administration menu created from views

I created several views (with page display) as custom administration pages and I'd like to create a custom menu block to Management menu. I started to develop a very simple module for this task: ...
0
votes
1answer
18 views

Cannot get theme_links__system_main_menu($variables) to fire now matter what

i've added the code below to my theme's template.php file. i've cleared the cache too. but this just isn't firing no matter what. i'm not getting any errors either. anyone have any experience with ...
1
vote
2answers
32 views

How do I translate the menu title in Drupal 7

Currently I am working on a multilingual website and have already a multilingual set-up. Now I have translated menu items and it is working great, however I also want the menu title to be translated. ...
0
votes
0answers
8 views

How can I prevent a migrate UPDATE from altering the menu items?

I have a custom migration using a custom source which extends MigrateList. There are about 150 page nodes that needed to be updated. I can run the update, and the page content is updated apparently ...
0
votes
2answers
29 views

Trying to modify Main menu by testing $vars['heading']['text'] == 'Main menu',

I'm trying to modify the code for the main menu only. below is my sorry code, which is not working. it attempts to see if $variables['heading']['text'] equal 'Main menu' function ...
0
votes
0answers
27 views

Creating a Module Level Main Menu Replacement

I am looking to create a module (not theme) that replaces/augments the main menu in Drupal 7. I've got a CSS driven menu (MegaMenu style). It's generic and I want to reuse it across ...
0
votes
1answer
20 views

get user_page and modify main content

I'm very new to drupal. I have successfully added a new menu Tab. And When I click on it, it shows a new page with the expected data. However I would like: To have a "proper page" not just the ...
0
votes
0answers
42 views

styling the superfish mobile menu

is there any way to change the name of the superfish mobile menu that you get when viewing superfish on an iphone. its activated after you have set up your superfish menu by adding the path : ...
0
votes
0answers
20 views

Menu gone, all buttons gone

My customer is using the "smokers" theme with Drupal 6. Now we are observing a very strange behavior: The menu bar that used to be on left side on the screen "disappeared", or more correct it is ...
3
votes
1answer
145 views

Drupal 8 - “Implement menu links as plugins”, trying to build a menu tree

In a previous Drupal 8 menu question here, we determined that menu tree building was now a service. In my D8 contrib theme, I was then able to render the main menu tree as: function ...
0
votes
0answers
12 views

Dynamic text on My Account link to include user's name

I'm using a Commerce Kickstart 2 profile and I'd like the "My Account" link at the top to include the name or email of the user who is currently logged in. Right now it says My account but I'd like it ...
0
votes
0answers
6 views

How to modify / edit the third level of Management menu (eg. content types list)

The question is general, but my case is I have many content types, so I would like to group them in the administration menu. Unfortunately, once you go to edit the Management menu, you cannot see ...
0
votes
0answers
42 views

Programmatic removal of 500+ menu item children

I am exploring my options for a unique use-case — the removal of 500+ menu item children from the Main navigational menu. Specifically 649 menu item children of one menu item, and 1650 menu item ...
0
votes
1answer
46 views

How to make accordion menu expand smoother?

I installed accordion menu on Drupal 7. The menu work perfectly fine but it does not expand that smooth. How can I make it smoother? How do I replace JavaScript to on module?
0
votes
0answers
36 views

What is the best way to make accordion menu?

I want to make my menu with accordion feature. I found Accordion Menu module and Views Accordion. The problem are, Accordion Menu has not update for over 2 years and I dont know how to use View to ...
0
votes
1answer
31 views

creating menu items with children (sub items)

i want to have a menu option called Info in my 'main menu', which has children of Policies and Contact. how can i set it up so that when a user clicks on Info, it just shows the child options in the ...
1
vote
1answer
31 views

Where to use menu_link_save

I want to create some menu items, i have code for it $item = array( 'link_path' => 'guarantee/validto' , 'link_title' => "meeeeeeeeeeeeeeeeeeeeeeeeeeeeeenu", 'plid' => 0, ...
0
votes
0answers
8 views

Drupal Menu icons File upload is not working

I have downloaded and enabled the menu-icons module in order to use icons in my menus instead of links. Unfortunately, I can't seem to get how to upload an image. I choose an image to upload but it ...
0
votes
0answers
8 views

Menu Token: Menu does not expand / set active trail

I am facing a issue while using the menu token module: I have setup menu items using following or similar paths: user/[user:uid]/auctions-pre The path is set with the correct uid and looks just ...
0
votes
1answer
26 views

theme superfish menu item link add query string

I need to add the destination to user/logout links in the THEME_superfish_menu_item_link preprocess function, but I am having no luck. In template.php I have: function ...
0
votes
2answers
30 views

Dymanimcally add links in main menu (e.g. last 4 nodes)

I have main navigation menu with root menu items. A request is that one of those have links to latest 4 nodes of a certain content type. So for example if I have a structure similar to this: -Parent ...
0
votes
1answer
23 views

Unable to create Menu Item

I am creating a menu item using the following code. $item = array( 'link_path' => 'node/custom', 'link_title' => 'Custom Title 001', 'menu_name' => 'menu-custom-menu', // Menu machine name, ...