Skip to content

Latest commit

 

History

History
67 lines (52 loc) · 2.39 KB

README.md

File metadata and controls

67 lines (52 loc) · 2.39 KB

Special Menu Items Module

Description

Special Menu Items is module that enables placeholder and separator menu items.Placeholder is a menu item which is actually not a link. Something like this is useful with drop down menus where we want to have a parent link which is actually not linking to a page but which is just acting as a parent grouping some children below it. A separator menu item is something like "-------" which is also not linking anywhere but merely a mean to structure menus.

This module depends on the Menu module. It is recommended that the SimpleMenu module or another drop down menu module is used, or you will not be able to acess children of nolink menu items.

Features

  • User can create a new menu item and place either "" or "" in the Path field, without quotes.
  • When the menu is rendered the "nolink" item will be rendered similar to a normal menu link item, but there will be no link, just the title. Since version 1.3 you can change HTML tag used for menu item.
  • When the menu is rendered the "separator" item will be rendered as an item which has no link, and the default title will be "-------". Since version 1.3 it is possible to change both the HTML tag and title.
  • Breadcrumb of "" will be rendered same as "" menu item.
  • CSS class "nolink" is added to "" menu item.
  • CSS class "seperator" is added to "" menu item.
  • Compatible with the Sitemap module.

Installation

  1. Copy the special_menu_items folder to your sites/all/modules directory.
  2. At Administer -> Site building -> Modules (admin/modules) enable the module.
  3. Configure the module settings at Administer -> Site configuration -> Special Menu Items (admin/config/system/special_menu_items).

Upgrading

Just overwrite (or replace) the older special_menu_items folder with the newer version.

LICENSE

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

CURRENT MAINTAINERS

Looking for maintainers

CREDITS

This module is a fork of the Drupal version developed by Servit Open Source Solutions - http://servit.ch and maintained by Khaled Zaidan - [email protected]

Written by Tamir Al Zoubi and Karim Djelid - Servit Open Source Solutions