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

learn more… | top users | synonyms

-2
votes
2answers
18 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
16 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 ...
0
votes
0answers
13 views

How to horizontally align two panel pane views next to each other [on hold]

I have two menu's that need to appear as one. The menu's both must be flexible in width and number of menu items (no fixed width). The menu items must also be flexible in width (no fixed width) The ...
0
votes
2answers
12 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' ...
0
votes
2answers
13 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
15 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
17 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
28 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
21 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
18 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
8 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
1answer
25 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
25 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
28 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
20 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
8 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
16 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
39 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
1answer
28 views

Drupal not register menus

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
20 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
19 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 ...
0
votes
0answers
20 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 ...
0
votes
2answers
25 views

Tab Tamer - Hiding tabs based on Roles

Tab Tamer Module only does but so much. I want to hide a tab for anonymous users and have it active for other admin users. This just turns it off completely. Any ideas?
0
votes
0answers
10 views

Getting menu heading title in template.php

I am trying to edit a menu title (heading title) by customising the theme template file. So far I have been able to customise both the UL and LI elements using THEME_menu_tree__MENU_NAME and ...
0
votes
2answers
23 views

How disable view page functionality and revert to pure view with master display?

On view setting page I have view with menu link and path. I want to turn it off, revert to basic view master. I've try to remove menu, but didn't change anything. Then I try to remove path ...
0
votes
0answers
17 views

how to make a widgets in drupal?

I have made a dropdown menu which i want to display in all the pages. when the submit action perform and hit the drupal_goto(). /* *implements hook_menu(). */ function dropdown_page_menu(){ ...
0
votes
0answers
17 views

Programatically altering a menu link on a per-page basis

I've got a link in my header, called 'Sign in' which goes to 'user/login'. It is a normal menu item created through the UI. I want to use hook_translated_menu_link_alter() to modify this so that I ...
0
votes
0answers
18 views

Get submenu items for node based on taxonomy or linked menu

My website has the following menu structure: Main page (just main page) Software (links to taxonomy) Our programs (no link) Buy our programs (links to basic page) Pricing (no link) Price list ...
1
vote
2answers
37 views

Creating a responsive menu system for a site with a lot of content

I am currently creating a website which has a lot of content - text. For this I need a serious menu structure with 5-10 menu items per menu and at least 15 menu-blocks per main menu item. Further it ...
0
votes
1answer
33 views

Enable/disable a menu item programatically depending on a variable value

I need to show a menu item only in certain moments. Imagine that I've a form with some options. If 'A' is selected, I need to enable a menu item that has a form for adding information about 'A'. I ...
0
votes
1answer
45 views

How do I dynamically change the title of a menu link?

I made a menu in administration, structures, menu. I want to change the title, as it appears on the menu, of one of the links based on the gender of the currently logged in user. I have found several ...
0
votes
0answers
17 views

Why does menu item disappear when linked page is edited?

I have a site with Drupal 7.34 and Commerce Kickstart commerce_kickstart-7.x-1.16 and lately everytime a page is edited and saved it disapears from the main menu and I have to add it back. The link is ...
1
vote
2answers
74 views

All page access only to administrator in

I want to restrict my page access. Only an administrator should be able to see the page. I followed this tutorial function example_menu() { $items['example'] = array( 'title' => 'My Page', ...
0
votes
1answer
21 views

Customize admin menu item “Content”

Is there a way to change this link to only a #. In the backend it's not possible to change this.. I want this only to be a activator for a dropdown and not a link to the content page because this ...
0
votes
1answer
13 views

Add html to taxonomy_menu_block taxonomy terms

I am trying to edit the html of the taxonomy terms printed from the module taxonomy menu block. Is there a way to add a theme wrapper or to override a template so I can add html to each and every ...
0
votes
0answers
18 views

Multilingual sites: Menu with links to pages in different languages

I have a multilingual site determining the language from the URL Path (www.sample.com/lang/page). I need a menu to have a mix of links to pages in both English and French. 99% of these are node pages, ...
0
votes
1answer
57 views

Placing a drupal menu on an external site

I have a drupal install (latest 7.x version at the time of writing). It is in the root directory of my domain. In a non drupal sub-directory, called 'member' so at /member, I have 3rd party script ...
0
votes
1answer
22 views

Permission base on the administration menu?

I have used hook_permission to limit user for some places and to created a permission rule. However, I have not combine two permission from another modules for my custom module. I'm working on a ...
0
votes
1answer
27 views

how to display sub menu under the respective main menu

I want to display main menu in custom menu block and display all sub menu below the main menu block on clicking the respective main menu. Iam able to display main menu but not able to display ...
1
vote
2answers
34 views

Print Primary and Secondary Menu Links separately

I have a main menu with primary, secondary and tertiary links. The primary links will be positioned top right of the page. I want the sub menus (secondary/tertiary links) to print in a separate ...
1
vote
2answers
78 views

How to manually create a menu item for a taxonomy term?

We need to create menu items out of some taxonomy terms in D7. Currently we do this manually by switching between taxonomy and menu administration pages. That is, we: In the vocabulary ...
1
vote
1answer
20 views

Unable to get all the sub-menu's in the data compare

I am trying to add a rule for comment view for which under the actions I click on data compare.As per the tutorial, I have to click the drop down list and choose node. Whereas when I repeat the ...
0
votes
1answer
23 views

Menu tree page data not rendering any data if the page does not exist in drupal 7

I have this code to render the menu. I need to make extensive modifications of the elements, so this is why I extract it in this way (multidomain-multilanguage site, I tried everything and this was ...
0
votes
1answer
43 views

How to add a menu under Webform Results?

In Drupal 7, I know we can use Views to add sub menu or menu tab on "My Workbench". The form result I have in "mydomain.com/node/99/webform-results" contained Submissions, Analysis, Table, Download, ...
0
votes
1answer
24 views

Secondary & Tertiary links next to Parent links

How can I print expandable secondary and tertiary links to the right of the parent? For mobile, the secondary and tertiary links will need to stack below the parent links. Below is an example of what ...
1
vote
1answer
22 views

Menu added not showing

I have added a menu item in main-menu using following code $item = array( 'menu_name' => 'main-menu', 'link_path' => 'my-profile', 'link_title' => 'Services', 'module' => ...
1
vote
1answer
21 views

Add # in menu items

I want to add menu items like 'projects#recent' and 'projects#featured' where both links redirects to same page but different sections. how can I do this ?