Skip to content
Snippets Groups Projects
Select Git revision
  • 6.x-1.2
  • 6.x-1.x default
  • 7.x-1.x
  • 7.x-1.7
  • 6.x-1.6
  • 7.x-1.6
  • 6.x-1.5
  • 7.x-1.5
  • 7.x-1.4
  • 6.x-1.4
  • 7.x-1.3
  • 6.x-1.3
  • 6.x-1.1
  • 6.x-1.0
14 results

menu_descriptions

  • Clone with SSH
  • Clone with HTTPS
  • Shawn Sheridan's avatar
    Shawn Sheridan authored
    Simplified block 'view' code, added '[Edit menu]' link to the menu block, implemented input formats capability for the descriptions, and optimised database calls by saving options between form creation and submit in the form instead of making identical DB call on submit.
    9415dd82
    History
    Menu Descriptions (menu_descriptions)
    *************************************
    
    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 contrib module.  Place its
    directory under sites/all/modules, and then enable the module.
    
    Configuration
    ~~~~~~~~~~~~~
    To use 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!