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

learn more… | top users | synonyms

-1
votes
0answers
11 views

How to hide the path of the menu

I have created menu but when we click on it, its shows the ip address of my system with path of the menu, i want to hide this path of menu, can anyone help on this please.
-1
votes
0answers
8 views

Create Toggle Link for Mobile Menu

Ok, This are shaping up... To open my Mobile Menu panel I am currently using: <a id="trigger" href=#">text</a> Does anyone know how I can use a link to toggle the appearance of the ...
0
votes
0answers
5 views

How do I add a list of members

I have added users and want to display a list of members as a block in a space on Open Atrium. I have looked in menus and Open Atrium when trying to add content but cannot find anything that will ...
0
votes
0answers
5 views

Admin menu dont have “add vocabulary” setting

My admin menu looks different in the second image. There is no "Add vocabulary" and it is not in pop out layout. I have already enable the core Toolbar module. 1st image 2nd image
0
votes
1answer
33 views

How do I remove “active” css class from breadcrumbs?

I am trying to include Structured Data in my breadcrumbs. The google validator throws an error on my final breadcrumb. When I remove class="active" from the code in the code validator window the code ...
0
votes
0answers
15 views

Superfish - add menu item programmaticaly or simply use CSS + jQuery - Drupal 7

I have a menu in Drupal 7. It is multidomain - multilanguage, for which I use the modules i18n and Domain Access + Domain Menu Access modules. I give Drop-down behaviour with Superfish module. ...
-2
votes
1answer
26 views

How do I set administrator menu to be the same as this Drupal 7 menu?

I upgraded my site from Drupal 6 to Drupal 7. The administrator menu is looks differently with Drupal 7 aministrator menu. How do I set it same as the default Drupal 7 menu? Drupal 7 administrator ...
0
votes
1answer
13 views

How to apply node access rules when querying menu_links table

I am creating a custom block which displays a menu. The menu is constructed by retrieving certain menu links from the menu_links table in the database. It has occurred to me that building it this way ...
0
votes
3answers
24 views

How to have a language switcher that allows you to select the country and then the langauge within the country?

We are looking to have a menu at the top right that allows users to select the country they want to view and then once the country is selected, we want them to pick a language that they can view the ...
0
votes
1answer
32 views

How to force a menu parent link to be non-clickable Drupal 7

I want parent link in the menu not to be clickable. As a path is mandatory, I have created a blank node, and in my module I substitute the link by a "#" char. I used custom code in module because I ...
0
votes
1answer
26 views

Hook menu - title arguments

I have those menu elements declared in hook_menu function: $items['submission/%/id/%'] = array( 'title' => 'View submission', 'title callback' => 'fr_form_view_submission_page_title', ...
1
vote
1answer
10 views

Menu link Translation

I'm using i18n and submodules to translate an English Language site to Spanish. I'm also using Automatic path aliases. The issue is that menu links are directly to the node: node/42. When in the ...
0
votes
1answer
20 views

menu item call from tpl file

I have create one form in .tpl file with simple html form tag. In action attribute of this form element i passed a url like 'action=savequestion'. Now in my .module file, inside hook_menu(), I am ...
0
votes
2answers
35 views

Module for floating vertical and customizable image menu

I'm looking alternative module to ShareBar (but not for social network buttons). The features should include: floating image menu items/buttons (like: Menu Icons) on the side linking to pre-defined ...
0
votes
0answers
14 views

How to display the menu Parent Item based on the selected language on content creation

I have 2 parent menu items. (Club of Montreal EN, CLub de Montréal FR) I have a content type Article. Each time an article is written, the menu item for this article need to be place under the proper ...
0
votes
1answer
27 views

How to create parent child menu programatically?

I have an array like this : Array( [0] => Array( [link_title] => Level == bod [link_path] => link1 [menu_name] => parrent-child-menu [weight] => 1 [expanded] => 1 ) ) Array( ...
0
votes
1answer
30 views

How to create a flyout menu with Views?

I am trying to achieve the following output- id like a view with two images- each displaying a corresponding menu on hover- I've looked at using rewrite result for an image field in views for this- ...
0
votes
1answer
19 views

How do I effect the page that a menu item redirects to?

I am trying to do something that seems simple, but I have yet to have to do it with my development because I have always dealt with forms and views. On the page that I get redirected to when I click ...
1
vote
0answers
29 views

Is there a limit on menu size after which system performance becomes significantly affected?

I am currently dealing with a site which has approx 1300 items in a single menu. The owner is considering adding another couple of hundred pages to the menu. One of the things I am trying to ...
0
votes
1answer
19 views

Show / Hide login menu item not connected to node

I have a login menu item that links to the login page of my website. I want to have the menu item disappearing when someone is logged in and an a sign out button appearing in its place. Since the ...
1
vote
1answer
17 views

How to handle a post request from an external application in Drupal?

I am integrating with the Stripe payment gateway and I need to be able to handle a post from their server to authenticate a standalone account. I am trying to follow the instructions at ...
0
votes
0answers
10 views

How to add user profile menu tab to a custom drop down menu

I would like to remove some user menu tabs (will do this with tabtamer module) and create a separate drop down menu with the removed tabs. The profile tabs use user id in the links. How do I handle ...
0
votes
0answers
12 views

Menu Block drop down links disappeared?

On my Drupal 7 site, I was pruning the permissions of a limited access role. I must have inadvertently disabled the permission that allows for Menu Blocks to display the gear icon dropdown with "List ...
1
vote
0answers
15 views

non-existant URL containing a valid parent path returns 200, not 404

For example, if you add extra parameters to node urls (node/[nid]/extra/s if you go to https://www.drupal.org/node/2536034/test/any/thing/in/here/should/404 it renders the page beacuse the node exists ...
1
vote
0answers
33 views

Only show menu level 2 from active trail (with option Show as expanded)

I'm trying to do something pretty basic in my perspective, but I keep failing at this simple task. My website has a main menu that is displayed on top of the page that is 2 levels deep (hence the ...
1
vote
1answer
37 views

Most maintainable way to make page with one top half and alternative bottom halves selected by tabs?

I want to make a page which has one top part, a row of two or more horizontal tabs beneath it, and alternative bottom parts which appear beneath that and can be selected by clicking on the tabs. For ...
-1
votes
2answers
20 views

Error message - Trying to get property of non-object

i'm getting a notice Error message - Trying to get property of non-object here's my function: <?php function func() { $node = menu_get_object(); global $user; if ...
0
votes
1answer
12 views

Programmatically render menu on search view

I'm trying to programmatically build a menu on my site, it works fine on all pages except a search view. This code I'm using is below: $config = array('menu_name' => $menu_name, 'level' ...
1
vote
0answers
19 views

override the HTML of a single menu block

Good day all. I'm new to drupal, and I could use a little help. I got the override idea, and I try to stick to this, now, I have a menù, on the upper part of the site, that needs a different HTML ...
0
votes
1answer
21 views

Menu access callback function called multiple times

I have following menu defined with access callback function. As You can see this is a hack so I can use REST via GET ( normally Services do not offer this ). All my endpoints are defined ...
0
votes
0answers
19 views

Using active trail as url path

I Would like to use the active trail menu as url path by altering pathauto? Can this be performed ? thanks
0
votes
1answer
14 views

Get an item in a list of taxonomy

Hello Drupal Community, I am creating a menu which has a link to an "editorial". I created a taxonomy named "edito" and created articles (content type) that are tagged with this taxonomy. I need to ...
0
votes
1answer
26 views

How to always print submenus from menu module?

I'm using Drupal 7.35, with the stock menu module. I've set up a menu that has multiple submenus, and ran into something interesting: the submenus only are printed to HTML when you're on that menu's ...
-1
votes
1answer
52 views

How programmatically assign selected menu to superfish menu…?

In my custom theme there is an option to choose navigation menu and type of navigation menu (TB Megamenu and Superfish Menu) from a select list in theme settings page. In my tpl file am able to pass ...
0
votes
2answers
34 views

Trying to add a class to a menu in a preprocess function

I want to add a class to a menu - doing it in hook_menu won't work because I'm adding an icon with the icon API, and this seems to override any classes put on the menu items. I have this preprocess ...
0
votes
1answer
13 views

Trying to pass icon into the menu

I am trying to use the icon API to pass an icon to the menu - I would use the icon menu module, but I want the icon to switch based on programmatic logic. Here's what I have so far: /** * ...
0
votes
0answers
12 views

Numbering nested menu levels

I've got a custom function which overrides the menu links for a specific menu so I can put my own custom classes into it (see below). function MYTHEME_menu_link__menu_footer_links_1($variables){ ...
0
votes
0answers
10 views

How to delete a node in menu system when user updated a specific content type article

I have built a content type and some taxonomy There is a problem in my site for now if I selected taxonomy one my node will become to the taxonomy one children in the menu system and if I edited the ...
0
votes
1answer
13 views

Trying to create a custom menu link in a menu

So I want to have different menu links depending on if a user has received a message or not. I make a hook_menu() instance, like this: /** * Implements hook_menu(). */ function MYMODULE_menu() { ...
1
vote
0answers
24 views

Menu on mobile phone - How to directly show second level of menu?

Following configuration: Drupal 7, tb corpal theme, superfish menu For mobile phones I get a menu as shown in the image. If I press the menu icon (1, red on image) I get first the "Main menu" level ...
0
votes
0answers
8 views

Custom Breadcrumb from nested menues?

I'm using Custom Breadcrumbs in Drupal 7 to build a breadcrumb structure that follows my nested menu structure. Seems fairly typical. However, I'm stumped as to what Tokens to use when there is an ...
2
votes
1answer
19 views

Edit specific menu items in template

In my theme I'd like to have complete control over my menus. I'd like to apply specific classes and wrap the menu however I like. I was thinking I could do this within a template. I see that you can ...
0
votes
1answer
28 views

Why does node/%node/random/stuff work?

I just noticed this, and I can't find an explanation. I can go to node/1/45645645/klzkelfkzlef/47z4e5fz56e4f/etc and it'll just show node/1 instead of a 404 page. The same happens with ...
1
vote
1answer
23 views

How to get main menu to highlight the link to the current page?

My theme, Riley, highlights menu item of the page that you're on. (for example). I suspect this is a function of Drupal and not specific to the theme. First question: is this generally true? If the ...
1
vote
1answer
22 views

“add content” suddenly not showing on navigation block anymore

Good day, I'm having a problem of a block not showing its content! the block is stock and called navigation, which has "add content" in its links. but just recently, it has not been working on other ...
0
votes
1answer
47 views

Configure Menu Access Visibility and permission

I have a question for Menu Visibility. I have an entire live site in production. I am trying to build editorial workflow for my editors, other editors and approvers. I am using Workbench Access and ...
0
votes
0answers
30 views

Can menus be auto-generated from discovered content?

I am considering Drupal to host technical manuals. Aspects: the manuals change frequently I would bulk update the pages via curl, ftp, or some other method to be determined (point being: there will ...
1
vote
1answer
156 views

Use hook twice in a single module

I have created a custom module with some inc files for different functionalities, these inc files adds config pages for admin but i had to define all urls in .module file. is it possible to use ...
0
votes
2answers
25 views

Add Html code to Menu Title in Bartik

I am trying to add my own image menu names (I prepared png files) instead of menu titles (Navigate, Category, Home etc.). How can I do this? Which files should I need to check? I know Html Menu module ...
-1
votes
1answer
59 views

Off canvas menu for drupal 6

Are there any modules for Drupal 6 that provide an off-canvas menu? My site has mobile users and I want to hide the navigation bar when they view it. I want something like this: I have searched ...