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

learn more… | top users | synonyms

0
votes
0answers
9 views

Dynamic menu breadcrumb for custom Drupal form

We have a form developed using form API in Drupal 7. Based on taxonomyID & nodeID in URL, the form fields will be pre-filled. I want to display the taxonomy term & node title in menu ...
0
votes
2answers
17 views

Change <ul> class on one specific menu?

I'd like to change the class from "menu" on one specific menu I have showing up as a block on about 3 pages in a Drupal 7 site. I've been researching but can't seem to figure out the best way to go ...
0
votes
1answer
13 views

Select menu's hierarchy show

I would like it to show the hierarchy of menu's links. Testimonials and Company are under About us. How can I achieve this effect? Let me specify with an image:
-1
votes
0answers
13 views

Loading dynamic data through menu navigation

How to load dynamic content of nodes through menu navigation using node id? I have created a content type 'club' and I want to load particular club data through menu navigation.
0
votes
1answer
17 views

Drupal 8 module - page errors out

I have a drupal 8 sandbox site where I have started a module. I am practicing with registering paths. on my /tweets page, it errors out and says "Drupal has encountered an error". What is wrong with ...
0
votes
1answer
11 views

Create sub-menus from views data

I'm using Views 7.x-3.8 and Drupal 7. I've created cutom tables : youtube_video (with fields : vid, vtitle, description...) youtube_playlist (with fields : pid, ptitle, description...) ...
0
votes
0answers
15 views

How to add .active class in to main menu

How to add .active class in to main menu, when function "theme"_links___"name-menu"? eg: function socialzin_links__footer_menu($variables) { $html = "<ul>\n"; foreach ...
0
votes
2answers
24 views

Blocks are invisible after hosting drupal7

I am facing with a problem in drupal7, I am new to drupal7 too. When I run my website in localhost everything fine, blocks and menu are visible. But after I host my website in GoDaddy, that blocks and ...
0
votes
1answer
25 views

Access callback for user/%user/edit menu item not working

I have two roles, client & student. Students can edit their profiles, clients cannot. I thought the easiest way to solve this would be to add a permission as per below: function si_permission() { ...
0
votes
2answers
25 views

List main menu links

I need a list of main menu item links to display on a page (sort of a sitemap). How would I accomplish this in Drupal 7? If you need any more details, please do not hesitate to write in comments. ...
1
vote
1answer
27 views

How to use hook_menu to add an item to the secondary links?

Adding an item to the primary links is easy: function hook_menu() { $items = array(); $items['bla'] = array( 'title' => 'bla', 'page callback' => 'mymod_blah', ...
0
votes
1answer
15 views

Superfish - how to integrate main & user menu together

I am using superfish module to decorate the menu system but found one issue. i need to show my "main menu" & "user menu" blocks on header region. so that if user is logged in, they can see all the ...
0
votes
1answer
21 views

How to display Views fields as a drop down menu?

I have several fields in a View which I would like to appear as a drop down when another field is hovered over. It is possible to create a jump menu and a fieldset in Views, but how does one create a ...
1
vote
2answers
97 views

Assign ID to Main Menu

I am working on Drupal 7 project (omega 4 subtheme) with panels and views. I need to assign ID an ID (id="nav") to a DIV that wraps main menu UL. It is a child of div.l-region--navigation. It's the ...
0
votes
0answers
13 views

Is it possible to set a taxonomy menu programmatically?

Is it possible to create set a taxonomy menu location programmatically? Ie, I have taxonomy_menu installed, have the taxonomy configured and the menu set up, and want to set the taxonomy menu location ...
2
votes
0answers
39 views

Bootstrap Accordion Adapting

I'm adapting my bootstrap html theme to Drupal 7 and want to use some of the features of Bootstrap 3 theme. In Bootstrap theme, there is a code for accordion menu like this: /** * Implements ...
0
votes
2answers
28 views

Clean URLs aren't being displayed

I want clean URLs like webpage.com/page instead of webpage.com/?q=page, specifically in my menus. I have gone here http://v6.dev/admin/config/search/clean-urls (which is a clean URL and works) and ...
0
votes
1answer
18 views

WSOD when trying to configure menu with many items

I have a menu with many nested/multi-lingual menu items (I don’t know the exact number, probably something around 2000-3000). Whenever I try to visit its configuration page in the backend ...
0
votes
2answers
20 views

how to add content to a menu

I want to publish a node to a custom menu page like "people" rather than the front page "Home." I tried many ways, but I cannot deal with this matter. Could somebody tell me how to do it?
1
vote
0answers
37 views

How do I add classes to main menu ul and li in Drupal 8

I want to generate the html elements and their classes to fit my styling of the main menu. I'm confused by all the near-possibilities offered in the api documentation and by looking at core themes ...
0
votes
1answer
21 views

Highlight View parent menu item on node page and rebuild breadcrumb

If you are new to Drupal, as I am, you surely asked yourself once about "How can I highlight parent Views menu item even if I am on a child node? And how can I keep a correct breadcrumb if I use ...
0
votes
3answers
85 views

Remove links from the menu tabs

How can I remove the some links from the Tab, when we are login as a particular user. Please see the below picture. I want to remove the tab Items maked in red rectangle (deny access to this link). ...
0
votes
0answers
18 views

Display -1st level of active menu item

I am using the menu block module with panels to add a sidebar menu to each page. It works great, except that where the options for "Starting level will be" are "active menu item" and "children of ...
0
votes
0answers
10 views

Expanded sub-level menu similar to Envato site using Drupal 7

I have a Drupal 7 site (with the Bootstrap Framework) and I'm trying to create a top nav similar to Envato's (http://codecanyon.net/) where there is one level and the 2nd level is always visible ...
0
votes
1answer
27 views

Why can i not add a new link to the main menu?

I cannot for the life of me figure why i cannot add a new link to the main menu?! the error i get reads 'The path 'events' is either invalid or you do not have access to it.' i have tried ...
0
votes
0answers
18 views

first_child Menu not working after rebuild the permissions d6

After rebuild the permission, menus are disappeared. Every link has given a problem. I checked db logs, drupal logs, also compare server files but i have not found any changes. I could not ...
0
votes
1answer
34 views

Mobile navigation works on desktop resize but not on mobile devices

I'm using the mobile navigation module for a responsive menu, and it works perfect if I resize the browser window on my desktop, but it won't work on actual mobile devices (tested on iPhone and Galaxy ...
0
votes
1answer
20 views

What should I name my overriding render-function?

I'm just starting out with drupal and need some custom html for an intricate menu system. My plan is to override the html-generating functions in template.php. My theme name is "Drupal subtheme" and ...
0
votes
0answers
17 views

Main Menu not rendering?

Recently we merged our test server with our production server. When this happened, we installed a new theme on production that we had been using on dev. All of a sudden our production site's ...
1
vote
1answer
31 views

How to add content type as a menu item child without displaying the link in the menu?

I recently found menu block module, which displays my submenu very nicely. Here's the menu hierarchy: Home About News & events -- News -- Events Contact So when I go to the News & events page ...
0
votes
1answer
44 views

How to add active class to a specific menu only, while ignoring other menus?

I have 2 conflicting menus I need to solve by adding an active class to a targeted menu only, they are a user menu and a profile and account settings menu which have overlapping links. User Menu (in ...
0
votes
0answers
9 views

commerce kickstart 2 main menu 2nd level items

I have a set of items populating the main menu from Taxonomy:Product Category, but if I add a new item to the product category which is under another tiem there it doesn't show up on the main menu, it ...
0
votes
2answers
59 views

Dynamically creating menu links, through views, from a node's fields

This is my first time using this site for help but here is my issue. I have to first, Create a Menu like block based on the information in a Content type. Below every link is a text area field from ...
0
votes
1answer
20 views

Menu block goes crazy after 4th level

When I click on a 4th level link of a Menu block, the 3rd level disappear. This is the menu: Services Accommodation Building A Apartment 1 Apartment 2 I have 3 blocks to show ...
0
votes
1answer
37 views

How to create main links like home ,services programatically? [closed]

I am creating a new website in Drupal 7,but from my past efforts I tried adding main menu links(home,services,clients,blog etc)but all in vain!! Can anyone tell me how to create main menu links ...
0
votes
1answer
47 views

D 6 Grab a particular menu item within the primary links

Let's say we have a menu inside the primary links, in my case the Misc menu. As it seems under Misc menu it can be any Content Type (of course and on every other menu) The question is how can I ...
-1
votes
1answer
44 views

Menu token. Problem with [current-user: name]

I saw this question, but how to make that anonymous user does not see this menu link "anonymous"?
0
votes
3answers
47 views

I can't figure out the difference/relationship between menus and menus

One of those fundamentals I skipped over because it gave me a headache to think about thinking about it: Can someone explain, (or point me to documentation that can explain, and won't make me want to ...
0
votes
0answers
14 views

Drupal Language Switcher menu item

I am using D 7.28 with Boostrap theme (https://www.drupal.org/project/bootstrap). I am using the theme's 'Main menu' to display my links. The language switcher works well for me (changing homepage, ...
0
votes
1answer
9 views

how to add menu item from tags?

I am new in Drupal, and I am creating a library the library has subject, each subject select from a list that referenced to a taxonomy. I want each subject become an item in my menu and when ...
0
votes
3answers
44 views

How to link the parent of a Nice Menu to nowhere?

In order to make a Nice Menu, I created a menu like this: My Menu - First link - Second link - Third link The menu works perfectly fine, but I also had to fill in a link for the 'My Menu' ...
0
votes
3answers
56 views

Submenus do not work on some pages

For some reason, sub-menus do not work on all pages on my site. Here is one (basic page) that shows the submenus and here is a screenshot where it doesn't even though the mouse is hovering over the ...
1
vote
1answer
13 views

Add items to router but not links

According to the last paragraph: https://api.drupal.org/api/drupal/includes%21menu.inc/group/menu/7 Everything described so far is stored in the menu_router table. The menu_links table holds ...
0
votes
0answers
32 views

Need advice on how to go about creating a very specific custom menu

I have the need to create a custom menu that is giving me quite the challenge. I have a site that focuses around properties as the main content type. Several other content types have references to the ...
0
votes
1answer
27 views

Make a block from a “part” of a drop down menu

I have a D7 site with a drop down menu at the top, the second item across the top is "About Us". Presently it looks like this, see attached pic. I want the "contents" of this part of the menu to ...
0
votes
1answer
43 views

Standard bootstrap main menu with dropdown?

When using bootstrap with drupal what is the standard way to create a main menu? When I add the main menu block to a region it does not display as a bootstrap navbar. When I try with superfish I can ...
1
vote
2answers
40 views

How to use a view block in a dropdown menu item?

I'd like to create a menu item that generates a dropdown menu with unread messages. I've already used Nice Menus for flyout menus, but I don't think that module supports what I'm looking for: the ...
0
votes
0answers
43 views

TB Mega Menu Problem Reordering Columns

I have a site using tb mega menu. The only problem I have with it is it will not allow me to place a column to the left of another column. It just groups the two with the one I want to move always at ...
-1
votes
1answer
18 views

Two menus can't hide the other

I have been reconfiguring my drupal site for faster loading so i restarted from strach, the problem is i can not get rid of the Menu tab which is above the Home tab, if you look at ...
0
votes
1answer
12 views

I cannot see the dblog of my kickstart commerce

When I go to /admin/reports/dblog nothing happens it just shows me a node, and if I go to admin menu I cannot see the reports link check the image Why I cannot see the reports menu? how can I ...