Drupal menus by default requires that each menu item is associated with a node path, so clicking on a menu will always direct the browser to a page.
I'd like Nice Menus to offer an additional option which disables the node path of parent menus.
For example:
- Events
- My Profile
- My Calendar
- My Friends
With this option enabled, My Profile would not link to a node path when clicked. Instead, it would function more like a holder for the sub-menus.
In addition, this feature should only override the node path when the parent has sub-menus, so Events would still provide a path to a node.
The DHTML module provides this functionality inherently as clicking on a parent menu opens the sub-menus.
There are also theme layer hacks to give this functionality, but I think it'd be a valuable feature for Nice Menus.
What does everyone else think?
Comments
Comment #1
miiimooosubscribe
Comment #2
andrewsuth commentedThis little module was released on the 4th of May 2009: Special Menu Items module
Once a bug on installation has been fixed, I am sure it'll do the trick.
Comment #3
globetrotter commentedShould be fixed now.
We also fixed an issue with breadcrumbs.
Comment #4
andrewsuth commentedNice work.
A much needed module!
Comment #5
andrewsuth commentedComment #6
anrikun commentedA new module:
http://drupal.org/project/menu_firstchild
Comment #7
codigovision commentedthis is just what i needed, thanks. there are also breadcrumb modules like http://drupal.org/project/menu_breadcrumb now that fix breadcrumb issues.