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

learn more… | top users | synonyms

0
votes
0answers
5 views

Mobile sliding menu

hello guys I am trying to add menu like this - http://mmenu.frebsite.nl/download.php [demo][1] [1]: https://www.drupal.org/project/mmenu but its need Jquery_update which is breaking up admin panel. ...
2
votes
0answers
22 views

How to reorder Book module menu through Database?

How to re-order Book menu faster, optionally through Database? I have a big problem to reorder menu/ navigation for Book module.... It is supposed by drag-and-drop - I have 318 items in list , some ...
0
votes
1answer
27 views

How do i print username into url after user logs in

currently i am developing a drupal site and i need to print username into url after user logs in ... loging is done with Login destinations module ... usually user is not redirectet but stays at the ...
0
votes
3answers
45 views

How to find url of content-type?

I am new in Drupal I have an article website, and it has some category like History, Sport, Graphic, Music and etc. But when I add some content-type for each of these and when I visit that post, I ...
0
votes
1answer
12 views

Assign Node To Other Menus Besides Main Menu

Is there a module or technique which will allow us to assign a node to a menu -besides- the Main Menu. Users find it annoying that the only menu they can assign a new page to has to be based on the ...
0
votes
1answer
8 views

Need “carat” for currently active Superfish menu item

I have a Drupal 7 Superfish menu (from the Superfish module) that I would like to add a "carat" to for the currently active menu item. Here is my current menu: But I would like a menu where the ...
0
votes
1answer
12 views

Change ubercart default path

My clients really really insist that the path of the cart pages will be store/* instead of cart/* Also, an alias is not good enough. They want a totally unrelated page to appear in the path: cart ...
0
votes
2answers
27 views

How to add a custom url to user menu?

I've create a theme for user login page with different style and everything is good. When a user log in to my site in his profile he can see a user menu and add content link. I don't want to show ...
0
votes
0answers
18 views

Custom administration menu created from views

I created several views (with page display) as custom administration pages and I'd like to create a custom menu block to Management menu. I started to develop a very simple module for this task: ...
0
votes
1answer
14 views

Cannot get theme_links__system_main_menu($variables) to fire now matter what

i've added the code below to my theme's template.php file. i've cleared the cache too. but this just isn't firing no matter what. i'm not getting any errors either. anyone have any experience with ...
1
vote
1answer
23 views

How do I translate the menu title in Drupal 7

Currently I am working on a multilingual website and have already a multilingual set-up. Now I have translated menu items and it is working great, however I also want the menu title to be translated. ...
0
votes
0answers
8 views

How can I prevent a migrate UPDATE from altering the menu items?

I have a custom migration using a custom source which extends MigrateList. There are about 150 page nodes that needed to be updated. I can run the update, and the page content is updated apparently ...
0
votes
2answers
29 views

Trying to modify Main menu by testing $vars['heading']['text'] == 'Main menu',

I'm trying to modify the code for the main menu only. below is my sorry code, which is not working. it attempts to see if $variables['heading']['text'] equal 'Main menu' function ...
0
votes
0answers
26 views

Creating a Module Level Main Menu Replacement

I am looking to create a module (not theme) that replaces/augments the main menu in Drupal 7. I've got a CSS driven menu (MegaMenu style). It's generic and I want to reuse it across ...
0
votes
1answer
20 views

get user_page and modify main content

I'm very new to drupal. I have successfully added a new menu Tab. And When I click on it, it shows a new page with the expected data. However I would like: To have a "proper page" not just the ...
0
votes
0answers
17 views

styling the superfish mobile menu

is there any way to change the name of the superfish mobile menu that you get when viewing superfish on an iphone. its activated after you have set up your superfish menu by adding the path : ...
0
votes
0answers
19 views

Menu gone, all buttons gone

My customer is using the "smokers" theme with Drupal 6. Now we are observing a very strange behavior: The menu bar that used to be on left side on the screen "disappeared", or more correct it is ...
3
votes
1answer
131 views

Drupal 8 - “Implement menu links as plugins”, trying to build a menu tree

In a previous Drupal 8 menu question here, we determined that menu tree building was now a service. In my D8 contrib theme, I was then able to render the main menu tree as: function ...
0
votes
0answers
11 views

Dynamic text on My Account link to include user's name

I'm using a Commerce Kickstart 2 profile and I'd like the "My Account" link at the top to include the name or email of the user who is currently logged in. Right now it says My account but I'd like it ...
0
votes
0answers
6 views

How to modify / edit the third level of Management menu (eg. content types list)

The question is general, but my case is I have many content types, so I would like to group them in the administration menu. Unfortunately, once you go to edit the Management menu, you cannot see ...
0
votes
0answers
41 views

Programmatic removal of 500+ menu item children

I am exploring my options for a unique use-case — the removal of 500+ menu item children from the Main navigational menu. Specifically 649 menu item children of one menu item, and 1650 menu item ...
0
votes
1answer
31 views

How to make accordion menu expand smoother?

I installed accordion menu on Drupal 7. The menu work perfectly fine but it does not expand that smooth. How can I make it smoother? How do I replace JavaScript to on module?
0
votes
0answers
24 views

What is the best way to make accordion menu?

I want to make my menu with accordion feature. I found Accordion Menu module and Views Accordion. The problem are, Accordion Menu has not update for over 2 years and I dont know how to use View to ...
0
votes
1answer
24 views

creating menu items with children (sub items)

i want to have a menu option called Info in my 'main menu', which has children of Policies and Contact. how can i set it up so that when a user clicks on Info, it just shows the child options in the ...
1
vote
1answer
31 views

Where to use menu_link_save

I want to create some menu items, i have code for it $item = array( 'link_path' => 'guarantee/validto' , 'link_title' => "meeeeeeeeeeeeeeeeeeeeeeeeeeeeeenu", 'plid' => 0, ...
0
votes
0answers
7 views

Drupal Menu icons File upload is not working

I have downloaded and enabled the menu-icons module in order to use icons in my menus instead of links. Unfortunately, I can't seem to get how to upload an image. I choose an image to upload but it ...
0
votes
0answers
6 views

Menu Token: Menu does not expand / set active trail

I am facing a issue while using the menu token module: I have setup menu items using following or similar paths: user/[user:uid]/auctions-pre The path is set with the correct uid and looks just ...
0
votes
1answer
17 views

theme superfish menu item link add query string

I need to add the destination to user/logout links in the THEME_superfish_menu_item_link preprocess function, but I am having no luck. In template.php I have: function ...
0
votes
2answers
27 views

Dymanimcally add links in main menu (e.g. last 4 nodes)

I have main navigation menu with root menu items. A request is that one of those have links to latest 4 nodes of a certain content type. So for example if I have a structure similar to this: -Parent ...
0
votes
1answer
20 views

Unable to create Menu Item

I am creating a menu item using the following code. $item = array( 'link_path' => 'node/custom', 'link_title' => 'Custom Title 001', 'menu_name' => 'menu-custom-menu', // Menu machine name, ...
1
vote
1answer
60 views

Update a menu link programmatically

For a migration project, we had some links on the main menu stubbed out to an external site. Now I want to update the links with their actual final path. However, I can't do this beforehand, because I ...
2
votes
3answers
40 views

Can I Run custom callback in site maitenance mode

In drupal site maintenance mode all custom menu callback is not working. it redirect into site maintenance page. But user/login is working. I need to create menu like user/login. please help me.
0
votes
1answer
15 views

Always expanded menu items not showing up expanded in custom menu

I have a custom menu profile-menu and have configured a block to display that menu. It has four menu items with 'expanded' => TRUE. However, during test runs these expanded menu items do not show ...
0
votes
1answer
21 views

I want to navigate to particular tab on clicking of particular menu item

This is my menu This is my Media page on that I have 2 tabs for that I have used UI Tabs jQuery I'm using Drupal 7 menus i.e main menu, I want when user clicks on the News from the menu item it ...
0
votes
3answers
41 views

Display menu items of unpublished nodes to users without “Administer Content” permission

I have a content editor who is building out a section. All the nodes are yet unpublished. The problem is unpublished nodes are not displayed in a menu. While this is correct behavior with a user ...
0
votes
0answers
15 views

Unable to create the menu after deleted an old one

On Drupal 7, I just deleted an old menu(menu A) under "Administration > Structure > menus". When I try to create this same menu "menu A", it said The machine-readable name is already in use. It must ...
0
votes
0answers
18 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 ...
1
vote
2answers
42 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
14 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:
0
votes
1answer
22 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
16 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
18 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
26 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
31 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
26 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
30 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
19 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
29 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
102 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
19 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 ...