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

miiimooo’s picture

subscribe

andrewsuth’s picture

This 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.

globetrotter’s picture

Should be fixed now.
We also fixed an issue with breadcrumbs.

andrewsuth’s picture

Nice work.

A much needed module!

andrewsuth’s picture

Status: Active » Closed (fixed)
anrikun’s picture

codigovision’s picture

this is just what i needed, thanks. there are also breadcrumb modules like http://drupal.org/project/menu_breadcrumb now that fix breadcrumb issues.