Ever wanted to create a menu that had more than just menu names? This module extends Drupal's menu system by allowing you to attach a full description to a menu item, which can then be displayed along with the menu using menu blocks that the module provides. Use this to give users more direction as to what menu options do what. Because this is an add-on to the menu system, menu blocks obey all access control, so that the links and descriptions that are generated are 'dynamic' depending of the user's permissions.

A new checkbox is added to the menu edit form to indicate that a Menu Descriptions block should be generated for that menu, and a new text field is added to menu item edit forms for the longer description.

Installation

Install menu_descriptions like any standard Drupal 6 / 7 contrib module. Place its directory under sites/all/modules, and then enable the module. Note that this module requires the Menu module to be installed.

Configuration

To enable a menu for menu descriptions, edit that menu, and check the "Create a menu descriptions block for this menu". A new block will appear in the blocks UI that can be place like any other block.

Then, edit each menu item for that menu, scroll down to the "Longer description" text box, and enter your description / instruction text there.

Place your block in the region you want, with the appropriate visibility settings for your needs, and that's it - you're done!

Dependencies

The core Menu module.

For Themers

There are two theme templates (.tpl.php) for those who want to alter the output generations. One for the menu items themselves, and one for the entire menu. To override them, copy the two .tpl.php files from the module's directory to your theme's template directory, and then modify them to suit your theme. Don't forget to clear the theme registry cache to have your new templates used.

Project information

Releases