Closed (fixed)
Project:
Nice Menus
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2010 at 08:38 UTC
Updated:
2 Feb 2010 at 15:00 UTC
On my testsite http://www.test.findtoilet.dk/ I would like that some of the first levels buttons to NOT have a node to show but don't think it's possible?
Hovedstaden, Sjælland, Syddanmark, Midtjylland, Nordjylland should be like that but later there will also be dropdown menus like Hovedstaden. Hope you understand?
If you click Hovedstaden you will see that I had to make a dummy node for this.
Comments
Comment #1
tinem commentedIt should be like this dropdown menu http://www.findbiblioteket.dk/ which is made with this http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm - but if it can't be done maybe I could use THIS CSS dropdown menu inside Drupal instead?
Comment #2
add1sun commentedThis is really a problem with Drupal's menu system and not Nice menus. Nice menus is just displaying what you give it. Drupal core's menu is what is requiring you to have a path, which creates a clickable link, for all menu items.
For Nice menus you can look at http://drupal.org/node/194596 on ways to get a menu item to not be clickable. This still means that the menu item itself must have some path associated with it since Drupal requires that, but at least you can get the menu to behave the way you want. Also keep in mind that Drupal's menu just wants a valid path. You don't have to create a node for each item. You can simply use
<front>as the path if you are just filling something in but don't really intend for the path to matter. I believe there may be modules out there which will allow you to add text-only items to your menus as well, but I don't know if they are generic enough to use with other modules like Nice menus.Comment #3
add1sun commentedI came across that other module I mentioned that allows non-link items in your menu while looking for something else. http://drupal.org/project/special_menu_items