theme menus

Output children menus of collapsed elements

Last modified: August 26, 2009 - 23:33

Description

This snippet will allow you to configure Drupal to output the children menus of "collapsed" elements, still keeping the "collapsed" style on the parents. After this change is performed, creating hover menus is a breeze.

Menu items that are not links

Last modified: August 26, 2009 - 23:41

Problem

The Menu system in Drupal 5 lets admins define an arbitrary number of menu items in a hierarchy, each of which is a link to somewhere in the site (or on another site). That's great, unless you want to have a menu tree that has items in it which are not, in fact, links. For that, the following code lets us designate "menu links" that will not actually link anywhere.

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.