Install SPECIAL MENU ITEMS module
here's some details as taken from the link: https://www.drupal.org/project/special_menu_items
the download is on the link.
Special menu items
Primary tabs
Posted by gagarine on
Special menu items is a Drupal module that provides placeholder and separator menu items.
A placeholder is a menu item which is not a link. It is useful with dynamic drop down menus where we want to have a parent menu item which is not linking to a page but just acting as a parent grouping some menu items below it.
A separator menu item is something like "-------" which is not linking anywhere but merely a mean to structure menus and "separate" menu items visually.
Menu item container provide similar functionality.
Shane Thomas made a video about special menu item.
Features
- User can create a new menu item and place either "<nolink>" or "<separator>" to the Path field, without quotes.
- "<nolink>" item will be rendered similar to a normal menu link item but there will be no link just the title.
- You can change HTML tag used for menu item
- "<separator>" item will be rendered to an item which is no link and by default title will be "-------".
- Breadcrumb of "<nolink>" will be rendered same as "<nolink>" menu item.
- CSS class "nolink" is added to "nolink" menu item.
- CSS class "separator" is added to "separator" menu item.
No comments:
Post a Comment