Menu

Events happening in the community are now at Drupal community events on www.drupal.org.
This group should probably have more organizers. See documentation on this recommendation.

This group is about core development of the menu system and related API - it is not a support forum.

This group started for the Drupal 6 re-write:

We are going to rewrite the Drupal menu system. The roadmap and phase one is in http://drupal.org/node/34755 .

For Drupal 8 - the routing has moved to symfony routes. Active discussion now around the final stretch for handling menu links.


pwolanin's picture

Menu Links - New Plan for the Homestretch

see: https://drupal.org/node/2256497

After beginning work on a plugin-based implementation as a new framework for menu link, dawehner and I are very confident about the success of this approach. If you are interested in menu links, especially around issues of localization and translation, performance and scaling, or DX, please look at the summary and get involved in this effort.

Read more
Anonymous's picture

Hierarchical multi level multi select dropdown menu

I am urgently looking for a hierarchical multi level multi select dropdown menu similar to the Drop Button 2 at http://www.bosin.net/ng/index.html or does someone know whether we can implement this menu on Drupal ?

Read more
Anonymous's picture

Hierarchical multi level multi select dropdown menu

I am urgently looking for a hierarchical multi level multi select dropdown menu similar to the Drop Button 2 at http://www.bosin.net/ng/index.html or does someone know whether we can implement this menu on Drupal ?

Read more
mayur.pimple's picture

how to get uid of current view user account/profile

Hi

I have use hook_menu_alter()
I want to access uid of current view user in menu alter function.

Thanks Mayur

Read more
d2c's picture

Menu based on product

Hello,

I need a menu on Drupal 7 that is depending on which product it is. This means that I could have 4 items for product A, but for product B I could have 6.
Is this possible? If yes, how or where do I start?

Thanks in advance.

Read more
elvin - albania drupal developer's picture

How to create a different menu style/system?

Hello
I am trying to create a site that has a menu like this:
go over to www.vdm.com and roll over the LES PAYS first link. i have also attached a screen shot of the menu

How can i possibly achieve that in drupal?

Read more
sgalindo88's picture

Displaying current Link and its submenu in a block

How can I display the current menu item(link) and its submenu(children) in a block?

I tried looking at the theme_menu_item function but I don't really understand how to use it to do what I need..

Any suggestions??

Read more
ocamp's picture

How can i get more logical/user friendly local tasks?

I personally think drupal has an extremely strange way of handling page menus.

If you go to pretty much any other user based website, the users account settings are available on any page, because account settings are a global function, but for some reason drupal puts the account settings on each users account page. With an argument in?? what?

It just seems amaturish to put the edit account link on the users account page rather than making the link accessible without an argument.

Read more
tom.camp's picture

Funky menu issue on Term page

I am having an issue with the taxonomy/term/* pages and my menu and I figured that I would post here to see if anyone has any thoughts.

Here is what is going on; I am using the Primary Links and have a few items in the menu. When I go to a taxonomy/term page, certain items in the menu disappear. This only happens on the taxonomy/term/... pages. The pages that disappears are of the default content type Page and any content type Page that I add and a CCK content type and any of that type.

Read more
dlaidig's picture

Autolink Parent Menu to Submenu

I'm looking for a way to automatically have my parent menu item link the first submenu item in the list. currently, whenever my submenu's change, i have to update it's parent menu to point to the new first submenu in the dropdown. Any suggestions?

Read more
karenbroes's picture

dropdown menu

Hi everyone!

My situation is the following:
I have an image (slices images next to eachother) in my header region. This image should be a menu. More exactly a dropdown menu, if I hover over an image it should show the menu boxes underneath it. And I'm not quit sure how to do this in drupal7. I have the CSS in my head but I can't figure out where to stick it too, the image for as for as I know doesn't have an id or class.

Read more
DrupalCuckoo's picture

How to use tokens in menus?

hi,

how can I use tokens like "%user" when creating menu elements at "/admin/build/menu-customize/navigation/add"?

What I try to do is this:

  • At "admin/build/menu/add" I created a new menu called "Top Navigation" (top-navigation).
  • This menu should contain links to user profile pages, like:
    -- Profile Homepage -> user/[USERNAME]
    -- Edit your profile -> user/[UID]/edit
    -- List your friends -> user/[UID]/friends
    -- List your content -> user/[UID]/content
    -- etc.
Read more
DrupalCuckoo's picture

How to create special dropdown menus?

hi,

how can I build dropdown menus like on this page -> http://www.pampers.co.uk/en_GB/home ?

Roll over "Pregnancy", "New Baby", "Baby" etc to see what I mean.

thanks for any help.

best regards.

Read more
DrupalCuckoo's picture

Menu in custom module disappears

Hi Guys,

I'm developing a custom module for some privacy stuff. My module provides a new page under "user/[UID]/edit/privacy".

<?php
/**
* Implementation of hook_menu()
*/
function MY_MODULE_menu() {

$items['user/%user/edit/privacy'] = array(
'title' => 'Privacy',
'page callback' => 'drupal_get_form',
'page arguments' => array('MY_MODULE_privacy_settings'),
'access arguments' => array('administer site configuration'),
'type' => MENU_LOCAL_TASK,
'weight' => 100,
'file' => 'MY_MODULE_privacy.admin.inc'

Read more
shushu's picture

Adding user name to menu (kind like logitoboggan block, or using Token...)

Sometimes things that looks simple to do gets me into troubles.

In this case, the combination of Acquia Marina theme, logintoboggan block and secondary links.

Acquia Marina has the secondary links "hard coded" into the page.tpl.php, inside a place which is not a region. This make it "impossible" (without changing page.tpl.php) to add blocks to it.

Meanwhile, all I want is to give a nice "Hello $user->name | Log out" as part of the secondary links. Logintoboggan is a great module that gives this block, but I can't easily put it there.

Read more
mkindred's picture

Controlling active/active-trail with duplicate menu items

I'm developing a site that requires some menu items to occur in two different places within the primary links:

Section A
-- Introduction
-- Testimonials

Section B
-- Introduction
-- Testimonials

Testimonials
-- Section A
-- Section B

Read more
bstoppel's picture

menu_get_active_trail() not working correctly?

Hi All.

I just joined this group. I've encountered a problem with menu_get_active_trail(). I may be going about what I am trying to do incorrectly. I'll take any mid-course corrections that you all have to offer.

First the problem.

I have a nested menu structure that looks something like this:

Home
- Visit
-- Tickets & Admission
-- Calendar of Events
-- Directions & Parking
-- Plan an Event
-- Dining & Shopping
-- Hotel Packages
- Get Involved
- Education & Activities
- Multimedia
- Research & Collections
- Science & Exhibits

Read more
mazya's picture

Drupal Drop-menu module

Hi, enyone. I've got some software to generate different types of menus (Sothink DHTML Menu, not an ad). So, now I can create any type of menu, but i can't connect this menu with my drupal site. I.e. when i'm creating section in admin page, i need to change menu code dy mysefl, but i vonna to drupal change menu code automaticly. How can i connect menui code with drupal, or how to create such module that will do this. I'll be glad if anyone help me.

Sorry for my bed english.

Read more
guldoe's picture

Manage menu options

I would like some users can add pages and manage menu. When users add a page can see all menus( navigation, primary links , secondary links) ¿is possible hack menu and it only shows primary and secondary links.?

I not found a module that could do that, ¿may i change this by code?

Thz

Read more
cuxi's picture

I can do with drupal

. Hi guy, I have a question.
I create a few menu item link. I use a few other website on internet put see infomation. When i click link menu item. i want load data from other website on internet to content (body) in drupal website for me ( see infomation other website on website for me. No open a window)
Can do it with drupal?

Read more
Subscribe with RSS Syndicate content

Menu

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week