Drupal's menu system lets you 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. Several scenarios for this exist, including parent categories and section separators.
This page explains how to add "menu links" that will not actually link anywhere.
Modules
Modules that allow links that are not links:
Theme layer: Drupal 5
Alternatively, this can be accomplished in your theme:
Step 1
We will define the magic value <none>
to mean "a path to nowhere", just like <front>
means "the home page". The crucial part here is the theme_menu_item_link()
function, which we will override. Place the following function in your template.php file.
<?php
function phptemplate_menu_item_link($item, $link_item) {
if ($item['path'] == '') {
$attributes['title'] = $link['description'];