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.


Menu Links - New Plan for the Homestretch

Posted by pwolanin on May 1, 2014 at 9:16pm

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

Posted by Anonymous on June 23, 2015 at 2:08pm

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

Posted by Anonymous on June 23, 2015 at 8:35am

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

how to get uid of current view user account/profile

Posted by mayur.pimple on June 30, 2012 at 5:27am

Hi

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

Thanks Mayur

Read more

Menu based on product

Posted by d2c on June 18, 2012 at 12:14pm

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
Categories:

How to create a different menu style/system?

Posted by elvin - albania... on February 21, 2012 at 11:52am

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

Displaying current Link and its submenu in a block

Posted by sgalindo88 on August 21, 2011 at 9:03pm

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

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

Posted by ocamp on August 5, 2011 at 11:26pm

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

Funky menu issue on Term page

Posted by tom.camp on July 9, 2011 at 2:48pm

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
3 comments Categories: ,

Autolink Parent Menu to Submenu

Posted by dlaidig on December 8, 2010 at 4:24pm

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

dropdown menu

Posted by karenbroes on November 4, 2010 at 1:21pm

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

How to use tokens in menus?

Posted by DrupalCuckoo on July 28, 2010 at 12:32pm

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
4 comments Categories: ,

How to create special dropdown menus?

Posted by DrupalCuckoo on July 19, 2010 at 11:09am

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
Categories: , , ,

Menu in custom module disappears

Posted by DrupalCuckoo on June 23, 2010 at 8:22am

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
2 comments2 attachments Categories: , ,

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

Posted by shushu on May 11, 2010 at 7:24pm

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

Controlling active/active-trail with duplicate menu items

Posted by mkindred on April 16, 2010 at 4:42pm

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

menu_get_active_trail() not working correctly?

Posted by bstoppel on August 13, 2009 at 3:20pm

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

Drupal Drop-menu module

Posted by mazya on April 8, 2009 at 2:05pm

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
Categories: , ,

Manage menu options

Posted by guldoe on March 10, 2009 at 9:38am

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

I can do with drupal

Posted by cuxi on September 17, 2008 at 7:48am

. 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
Categories:
Subscribe with RSS Syndicate content

Menu

Group organizers

Group notifications

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

AltStyle によって変換されたページ (->オリジナル) /