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

learn more… | top users | synonyms

1
vote
0answers
11 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
1answer
32 views

Search bar in main menu

I would like to place the search bar in the main menu on the right. I have seen several people on the net asking for this but never encountered some information I could actually use. I use Drupal 7 ...
0
votes
0answers
30 views

How can I detect ajax request by drupal behaviours? [closed]

I need to create a 'full ajax' site. I used the Ajax Links API module to load the main content region. My issue is that my site has a menu block that shows categories (taxonomy) on every page. The ...
1
vote
1answer
31 views

How do you allow users to create own menus?

The idea is that a user should be able to create a menu to structure his uploaded content. How would you go about making this possible without giving the user access to edit other users menus? ...
-3
votes
0answers
19 views

Menu Disappeared [closed]

I was Installing some modules ( full calender, colors, date ) and suddenly my horizontal menu on the left top of the page disappeared and a lot of changes occurred to my created content.I have no clue ...
-2
votes
0answers
30 views

How to set breadcrumbs on individual menus [closed]

I have two Menus Travel & insurance. These two menu's parent link is <main-menu>, and there are some submenus like travel 1, travel 2... and these menu's parent link is <travel-menu> ...
0
votes
1answer
17 views

How to put two blocks inline in menu bar

In every theme I tested so far, when a block is added to Menu bar area, each block is always shown stacked in pile, my question is: There is a way to to make two or more blocks showing inline in ...
0
votes
1answer
23 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
0answers
9 views

Put restriction on advanced forum main page

I am using advanced forum. In its permission section there are permission to be set for content type and stuff. But what i want is to put the forum unavailable to anonymous users. Currently when a ...
0
votes
1answer
19 views

Delete a node and a menu_link

I have a simply question, it's possible to delete a node and at the same time delete a menu_links ? For exemple when i will use the button delete of a node of my entity "PROJECT" i want to delete ...
0
votes
1answer
10 views

Adding a class to a menu item where the class name is set in the node

I want to add a field to a content type where the editor can select a class name from a drop down or simply enter a class name into a text field. I want this class name to then be added to the menu ...
-1
votes
1answer
13 views

How can I allow non admin users to edit the menu settings for a node?

How can I set a "Menu settings" field to be available to non admin roles in the permissions page? Here's an image to clarify what I am trying to allow select roles to edit when creating a new node of ...
0
votes
1answer
16 views

Menu items with Userpoints total

Is it possible to show the current total userpoints a user have next to menu item? example menu: Home | Downloads | My Points (24) | Logout if it's possible, how would one do this (beginner)
0
votes
1answer
17 views

Is there any way in drupal to get all primary links through views?

My objective is to get the primary links or any kind of menus items, to be shown as JSON, so that an app could consume it and show it. I tried it using views and I have services module and ...
0
votes
0answers
11 views

How can I add an identifier on a menu link

I have to import thousands of nodes and create their menu links. I need to add some of these menus links as children of existing menu links. I need to be able to identify these existing menu links ...
0
votes
1answer
40 views

Add menu item in hook form submit

I have an entity, when i submit this entity i want to add the new entity created in a menu as a link. But in this menu i have a tree links so i don't know how to put my link in a specific tree. I saw ...
0
votes
2answers
36 views

PHP - MENU_LOCAL_TASK in Drupal

How do I add #markup or #suffix to MENU_LOCAL_TASK in Drupal? $items['user/%/checkins_history'] = array( //add to to user's profile 'type' => MENU_LOCAL_TASK, 'title' => ...
0
votes
0answers
62 views

Inserting custom social media icons to nav.bar ( tb-megamenu )

I have been playing around all day and have been trying to get my social media in my navigation bar to the far right for people to click on and be directed to my social media account. I am using tb ...
0
votes
2answers
19 views

Modules to create submenu with custom markup

I have a question about how to create menu with full custom markup. Custom markup is applied not to menu items, but to entire submenu. An example of such menu is provided below: As you can see, ...
0
votes
2answers
35 views

Menu doesn't expand in Drupal 7

I have a primary link created and set of links whose parent is the primary link. I have enabled "Show as expanded" to all of them (tried with first primary also) but yet the sub-menus don't appear in ...
0
votes
2answers
30 views

How to remove “All Products” item in main menu of drupal commerce kickstart 2

I checked vocabulary collection, no "All Products" there. Is it created programmatically? How can I remove/change this item? Thanks in advance.
0
votes
0answers
9 views

Control / modify Main Menu

I am trying to modify the main menu. It is appearing in Navigation. I'm not sure if that is controllable or not. It is block, but I've not (to my knowledge specified that it should even appear). ...
0
votes
1answer
37 views

Unable to create a menu link with Drupal 8

I am trying to create a menu link in Drupal 8. I am following this document: https://api.drupal.org/api/drupal/core!includes!menu.inc/group/menu/8 My module name is twitter_pull and I was able to ...
0
votes
0answers
16 views

Drupal page is not found error is showing [duplicate]

I am working on a project where I created a custom module to store data into database from a form. It is working fine. But now I am working on how to fetch the data from database and show the data in ...
0
votes
0answers
54 views

how to set parent div to get responsive multilevel menu

i am newbie to drupal, now I am trying to get responsive menu style through this module ResponsiveMultiLevelMenu(codrobs)(http://tympanus.net/Development/ResponsiveMultiLevelMenu/), but i dont know ...
0
votes
2answers
41 views

Drupal installation profile: menu_link_save() doesn't work for “import” path

In my installation profile, I am trying to add a menu link for the /import path (from feed_import module). menu_link_save() works for all my menu paths with the exception of /import. Anyone have ideas ...
-2
votes
1answer
65 views

How to expand TB Megamenu in opposite direction so it won't go outside of the site?

I am using TB Mega Menu for my drop down menu that has three columns with width: 665px and height: 335px. I want to do something like this: There are total 8 menu tabs. When I click on first 6 menu ...
2
votes
1answer
82 views

How to add custom fields to menu items

I've been looking at using menu attributes module for Drupal 7 to add an extra field to the menu navigation system. However this adds a new attribute to the attribute array and thus prints it out in ...
0
votes
2answers
43 views

Drupal, menu links multilanguage

I'm translating the site with my custom theme to another language. The problem is in menu links. On the original language they are fine, but with another one they are looks like "node/id". I've tried ...
1
vote
2answers
25 views

Adding a views block to a menu? Or adding a menu to a views block?

I need to create a dropdown menu which consists of the menu items and also a views block of recent nodes. Yes this is technically a megamenu, but how would one build it without a megamenu using only ...
0
votes
1answer
18 views

How to alter tabs that have wildcard in bartik main menu

The problem is that I have some menu items with wildcard that I wanna add in main menu tabs, but can't realize how to do it. It can't be solved by hook_menu as I undestood. Tried use ...
0
votes
1answer
29 views

How to add paragragh information under hovered menu item?

Hi all, I want to add descriptions under my menu items like above (Eg. Home (ADD my description) Products (etc)? Do I have to create children under these menu items and enable these???? Any advice ...
-1
votes
2answers
41 views

Enable menu item when user has added a node

In my website the user can create a node. I want a menu link to appear only after the authenticated user has created the node and not before that. Is it possible to enable a menu link only when the ...
0
votes
0answers
10 views

Broken hierarchy when putting views from code into management menu

I have hook_menu() with: $items['admin/bonds/pages'] = array( 'title' => 'Pages', 'description' => t('Views of bonds components.'), 'page callback' => ...
0
votes
1answer
105 views

Can't edit Main menu block in sidebar by clicking on “gear”

Today on one of my websites I encountered something strange. I have my "Main menu" block in my left sidebar, and when I hover over that block, the "gear" to edit it shows up, but clicking on it does ...
0
votes
2answers
20 views

How do i use a template file for my content type?

quite new to drupal here so forgive me if things seems evident for you.i'm building onto an already existing site in drupal 7. the site is a onepager frontpage and from the frontpage there are links ...
0
votes
1answer
23 views

Expanded navigation in Books

By default the navigation in books is collapsed: Fruits Vegetables Is there any way to make them expanded, so that the entire tree would be visible? Fruits Apples Bananas Vegetables Tomatoes ...
0
votes
1answer
28 views

translate menu item using entity translation

I am kind of confused and really need some guidance Is there a way to translate menu items using entity translation?(One item for all languages) Thanks
0
votes
0answers
14 views

'Unread/Read' Superfish Menu Item

I am trying to create a Superfish menu item that uses an 'Unread/Read' code on the item itself. I have a news page that I would like the menu item to flash or have a different appearance if the ...
0
votes
1answer
32 views

Remove link from active page in menu

I need the active page in my menu not to be a link. So let's say I'm on the services page, I need my menu structure to look like this: <ul class="menu"> <li class="first leaf"><a ...
0
votes
0answers
10 views

features not storing menu links

I am using Features and I'm trying to package up a menu in a Feature. I have been able o create the menu, but the menu created by the feature doesn't include any menu links. The reason for this is, I ...
-1
votes
1answer
43 views

Menu will not display - D7

I have an issue where I have created a menu within Drupal, assigned the block created by that menu to a region and set it to display on certain pages, but it's not displaying. It's a Drupal 7 site (v ...
-1
votes
1answer
15 views

is my menu-block not properly inserted?

quite new to drupal and having a small issue i can't seem to solve. it's quite a lot to start to explain so i think it's best to just send you the link and explain the problem. take a look at ...
0
votes
1answer
49 views

add class to LI

I need to be able to directly add a class to li in a menu. I have a secondary side menu that needs to change whenever i'm in a different viewport using bootstrap. My menu in question is using the ...
-2
votes
4answers
38 views

Drupal 7 Menu creation problem

I am trying to create a new menu link. But the system doesn't allow me to do so. The path 'New' is either invalid or you do not have access to it. The path 'testss' is either invalid or you do not ...
0
votes
1answer
36 views

Term taxonomy child from first and second level menu

I have a drupal commerce with taxonomy which have child.The menu was generate automatically. Exemple: Vehicle |-->4 wheel |-->car |-->bus ...
1
vote
1answer
25 views

Cross domain menus and blocks, but not users and content data

I'm trying to create multiple sites(maybe over 20 sites) using the same menu and some blocks, but not others. I found these modules have very similar features/functions, they are Domain Access, Domain ...
0
votes
2answers
50 views

How to make a menu like this one? [closed]

This menu looks really nice. Im trying to do one similar. Any suggestions on how to start and what modules should I use.
0
votes
0answers
8 views

How to set permissions for multiple menu items/entire menus at once

How would you go about restricting access to entire menus based on role at once, rather than having to go through one menu item at a time? I'm in the situation of having 30 different roles and 100+ ...
0
votes
1answer
7 views

Show item as local task but hide if argument is not provided

I have three tabs and third have wildcard in path. I added access callback for this menu item that checks if no argument then close access. The tab not shows afte that but ther is error "Notice: ...