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

learn more… | top users | synonyms

-4
votes
0answers
16 views

TB Mega Menu Module [on hold]

Example: Menu 1, Menu 2, Menu 3 are my main menu. Menu 1-1, Menu 1-2, Menu 1-3 are sub menu of menu 1. Menu 2-1, Menu 2-2, Menu 2-3 are sub menu of menu 2. Menu 3-1, Menu 3-2, Menu 3-3 are sub menu ...
1
vote
0answers
9 views

links__system_main_menu in drupal not gettign called

I created a theme and the theme name is abc. I am trying to override the default menu in drupal. I have the following filed in the theme folder (folder name is abc). abc.info file and page.tpl and ...
-2
votes
0answers
24 views

I want to know about menu breadcrumb [on hold]

I have been installed menu breadcrumb but it is not showing in front page so how can i show it in my site and how can i change path link of menu breadcrumb.I have to change menu breadcrumb path link ...
1
vote
0answers
7 views

Include custom menu in (mini)-Panels Everywhere

Converting a site from regions/blocks to Panels Everywhere: in my page.tpl.php I have a menu system like: <div class="menu_wrapper"> <nav id="main-menu" role="navigation"> <a ...
0
votes
1answer
24 views

How do I add a menu task to /node path?

I want to add a custom tab after "Edit" but can't figure out how to do so. I added a mymodule.links.task.yml file entity.node.import_form: route_name: entity.node.import_form base_route: ...
1
vote
0answers
6 views

Views menu options moved to top of structure menu, no obvious way to move them

I had a funny thing happen, where the views menu options got moved to the top of my structure menu in the admin panel, specifically the "add view," "add view from template," and "import" are all at ...
-1
votes
1answer
15 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
1answer
36 views

User login link is always visible in menu

I have created user login link in the user account menu but the link is visible all the time(even for logged users). The user profile menu link and the user logout links are displayed properly(they ...
0
votes
0answers
21 views

Organize categories and subcategories of products in menus

I have product content type that I want to display in a menu. Every product belongs to subcategory that belongs to main category, for example: Computers: PC: - product 1 - product 2 ...
0
votes
2answers
26 views

Menu Link issue [duplicate]

If I dont want to give a path to menu link because it has children that are expanding on hover. But there is no option for no path, I tried by assign <none> but this is not valid too.
0
votes
1answer
32 views

How do I add a menu item to the main navigation from a custom module in Drupal 8?

For my custom Drupal 8 module I want to add a link to the default main navigation menu of the site. What parent ID do I have to give to insert my menu item into the main menu? I currently have the ...
0
votes
0answers
8 views

Configuring Index of /files [on hold]

I have uploaded all sites content using FTP to the new hosting. But not sure about how to configure the index.html on the hosting server. But not sure about how to configure the code so that it could ...
0
votes
1answer
17 views

Region not rendering on views page but works perfectly on regular pages!

I have a navigation_bar region set up in my .info file which renders perfectly on regular drupal pages but I have two pages which are made from Views, but nothing renders. I am using the superfish ...
0
votes
0answers
17 views

Check if menu link is translated

How can i check programmatically if menu link is translated without using tsid to load all translations from database ?
0
votes
1answer
17 views

Creating menu items for views during installation of a custom install profile fails

I have created a custom installation profile in which I enable some default features and modules. In the profile I added an extra task at the end in witch I enable a custom deployment module. That ...
0
votes
2answers
47 views

Add attribute to main memu item

In my project I would like to add the following attributes to my "Login" main menu item: data-toggle="modal" data-target="#login-modal" (Am using the Bootstrap theme) I checked out the menu ...
1
vote
1answer
43 views

Anyone know how to build a menu like this? [closed]

We are redesigning a site for a client and they're wanting to create a menu similar to the one found here (the big menu below the header, not the hamburger menu at the top left): ...
1
vote
1answer
30 views

Is there a module for automatic menu translation?

I need to automatically translate menu items into all enabled languages when created. Is there a module for that or how can I do it programmatically ?
1
vote
1answer
22 views

How can I create a menu item corresponding to a link to another (external) site?

In my menu I can create an internal link corresponding to a path like → '/path/to/node'. But when trying to create a link to an external website (like → http://www.external.com), the link actually ...
1
vote
1answer
64 views

Adding a “three line” character (☰) or image to TB Mega Menu dropdown button

I'm currently developing a website with TB Mega Menu using a Zen subtheme. The problem is that the default TB Mega Menu button (the one that replaces the 'normal' horizontal menu on smaller screens) ...
0
votes
0answers
11 views

Pull menu items in view which has a parent menu same as content title [on hold]

I am a drupal webdeveloper, I have two content types first is services(a) and second one is service pages(b). service pages(b) has a entity reference field which pulls the nodes titles from ...
0
votes
1answer
20 views

How to theme main menu in three columns

I have a main menu block which i am showing at top-navigation. I need to theme main menu but not sure how to apply classes to the root level menu items and sub menus. i tried below snippet but not ...
0
votes
2answers
13 views

Creating A Submenu In Drupal

Hello I Am New to drupal and i want to create a submenu bar under Menu Navigation So Can ANYONE Suggest And Idea Or Something To Create A Submenu In Other Page Like Shown On Image
0
votes
2answers
20 views

Preventing a menu item from being pressed twice

I have a menu item that shows up on one of my nodes and when pressed it will trigger a somewhat long process. I would like to make it so that the user is not tempted to press the menu button again but ...
0
votes
0answers
11 views

Responsivness: blocks order + collapsible menu

I'm using standard Responsive Bartik theme because of its responsive capabilities, but I have one issue. When smaller version of site is displayed (phone, tablet,..), navigation menu (first sidebar) ...
1
vote
0answers
16 views

Drupal 7 - How to create jump menu of pdf links in a block with header & subheader text above it?

My site design has a blue block in the upper right-hand corner of the content area. This block has a big bold header, followed by some smaller, italicized text which I'll call the subheader, followed ...
-2
votes
2answers
28 views

what does 'admin/build/modules' mean?

I'm a total newbie to Drupal so I'm starting by trying to follow some tutorials. One says to enable a module at admin/build/modules but I have no idea what this means. I assume this is a path through ...
3
votes
1answer
22 views

MENU_CALLBACK with parent tabs

I have a module with a bunch of menu-items. Is it somehow possible to show the MENU_LOCAL_TASK's when a MENU_CALLBACK is called? The structure basically is like this: A normal menuitem in the ...
1
vote
2answers
16 views

Inserting space/gap between two main menu links

In my main menu, I have the following links: Home, About Us, Blog, Log In and Sign Up. I want the Log In and Sign Up links to float to the right such that there will be space/gap between the 'Blog' ...
1
vote
2answers
21 views

how to make big menu in drupal 7

How to make the menu like this in drupal 7. There are many customer module in drupal.org, but I don't know much about which module will suit with this. I would to drop down product category when user ...
0
votes
1answer
14 views

Menu function of urls

I know how to use Drupal's Menu and how to manage rights to access them function of profiles but I need to show secondary menu function of urls. For example: - A partner menu is only shown in page ...
0
votes
1answer
20 views

Force access denied on 'admin/structure/menu' for everyone except admin

I need to write a "simple" feature in custom module which returns access denied for all the users except admin who tries to rich 'admin/structure/menu'. I've tried with hook_page_alter, ...
0
votes
0answers
21 views

Create a two level menu system and page display using taxonomy terms

On my site, I have a node called "Blog Post". Attached to it, are two taxonomy terms. The first term is from the vocabulary "Section", with terms such as "reviews", "insights" money. The second ...
0
votes
0answers
19 views

Menu items Wildcards and Parameter Replacement

It is my module code: <?php function mymodule_menu(){ $items['mymodule/%f'] = array( 'title' => 'My account', 'page callback' => 'mymodule_hello', 'page ...
0
votes
1answer
33 views

How do I modify a menu link title dynamically?

This seems so simple, there -must- be a way, right? I want to modify the title of a menu link dynamically. I've tried the techniques in this question: Change menu link title dynamically? ...The ...
0
votes
3answers
24 views

How do I create a link that redirects to a destination after completing an action?

I'm trying to create login/logout options for menus that are parts of groups on my page. The thing is I want each menu to have that login/logout select redirect the user to the group page, not the ...
1
vote
1answer
25 views

Writing PHP code to creating menu in block show and alert

I have a menu in a block and this is my code in that block that is in sidebar second: <?php $url=$base_url.'/drupal'; echo '<ul> <li><a ...
0
votes
0answers
11 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
2answers
33 views

Delete system menu links

I'd like to know the best way to delete system menu links. I can't delete them through the UI because they have somehow become stray links (there is no "delete" link next to them). I've looked at ...
1
vote
2answers
34 views

(Nearly) single page website - any clever ways to manage menu anchor links?

So, I am creating a (nearly) single page website. It has a one-page homepage, plus a contact page and a ToS page which are standalone pages. The menu links on the homepage are like '#intro', ...
0
votes
2answers
47 views

Drop-down menu only works after clicking into the parent page first

I am using the Venture theme for Drupal 7. I have a 'Products' page listed in the main menu with a drop-down list that is a separate page for each product. However, to get the drop-down list to show ...
0
votes
2answers
25 views

Menu links duplicated on node/%node/edit pages

I've a strange problem. I've a multilingual site with many menus configures as "Translate and localize". Everything works, every menu link has his language, but ONLY when I go to a node/%nid/edit ...
0
votes
1answer
23 views

How to create active menus for the content type in drupal 7?

I want to create a simple content type with menus ,on clicking each menu the content will be shown on the same block but of the respective menu item. In this image ,i am having 3 menus a,b ,c with a ...
0
votes
0answers
10 views

How to translate Organic Groups Menu?

I can translate a normal menu easily, but how do I translated an Organic Groups Menu?
0
votes
0answers
24 views

List records in table and on click display details in form

I created a website which has two menus in it. One is to enter details of a person and the other to view list of entered persons. Here is the code function agents_menu(){ $items=array(); ...
0
votes
2answers
51 views

Theme expanded menu item?

Does anyone know how I can theme the entire li output for an expanded menu item? For instance, the output is I want to change the output to: Is there a way to theme this output, like there is a ...
0
votes
6answers
185 views

Drupal Not Register Menus Nor Links

One of the website that I manage the menu system is not working. I have install many modules (including the commerce modules) and are not been display on the menu. However, all modules links (and ...
0
votes
1answer
26 views

How can I reorder active menu items programmatically?

I have an 'audience' menu which has 4 links. When a user visits one of these links, it becomes active, and I want to push it to the front of the menu item list. Outcomes would like like; Pitchers | ...
0
votes
1answer
21 views

What can Menus do that Taxonomy cannot?

'Comments', 'Users', 'Taxonomy' are Entity Types because they each define their own sets of required fields. I am having a discussion with my boss where I am arguing that 'Menu' are really just a ...
1
vote
0answers
25 views

Custom menu with drupal_get_form plus form_alter_hook

I'm working in Drupal 6 to create a custom module. I have a menu that creates some custom URLs and tabs for me, and each item runs a page callback function, which itself runs drupal_get_form. What ...