| 3 |
Written by Tamir Al Zoubi and Karim Djelid - Servit Open Source Solutions - www.servit.ch |
Written by Tamir Al Zoubi and Karim Djelid - Servit Open Source Solutions - www.servit.ch |
| 4 |
|
|
| 5 |
|
|
|
|
|
| 6 |
Description |
Description |
| 7 |
----------- |
----------- |
| 8 |
Special menu items is module that enables placeholder and separator menu items.Placeholder is a menu item which is |
Special Menu Items is module that enables placeholder and separator menu items.Placeholder is a menu item which is |
| 9 |
actually not a link. Something like this is useful with drop down menus where we want to |
actually not a link. Something like this is useful with drop down menus where we want to |
| 10 |
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. |
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. |
| 11 |
A separator menu item is something like "-------" which is also not linking anywhere but merely a mean to structure menus. |
A separator menu item is something like "-------" which is also not linking anywhere but merely a mean to structure menus. |
| 12 |
|
|
| 13 |
This is how the module work: |
This module depends on Menu module. It is recommended to use SimpleMenu module or other drop down menu module or you will not be able to acess children of nolink menu items. |
| 14 |
- User can create a new menu item and place either "nolink" or "separator" to the URL |
|
| 15 |
field, without quotes. |
Features |
| 16 |
|
-------- |
| 17 |
|
- User can create a new menu item and place either "nolink" or "separator" to the Path field, without quotes. |
| 18 |
- When the menu is rendered the "nolink" item will be rendered similar to a normal menu link |
- When the menu is rendered the "nolink" item will be rendered similar to a normal menu link |
| 19 |
item but there will be no link just the title. |
item but there will be no link just the title. Since version 1.3 you can change HTML tag used for menu item. |
| 20 |
- When the menu is rendered the "separator" item will be rendered to an item which is no link |
- When the menu is rendered the "separator" item will be rendered to an item which is no link |
|
and the title will always be "-------". |
|
|
|
|
|
This module depends on Menu module. It is recommended to use SimpleMenu module or other drop down menu module or you will |
|
|
not be able to acess children of nolink menu items. |
|
|
|
|
|
|
|
| 21 |
|
and by default title will be "-------". Since version 1.3 it is possible to change both HTML tag and title. |
| 22 |
|
- Breadcrumb of "nolink" will be rendered same as "nolink" menu item. |
| 23 |
|
- CSS class "nolink" is added to "nolink" menu item. |
| 24 |
|
- CSS class "seperator" is added to "seperator" menu item. |
| 25 |
|
- Compatible with Sitemap module. |
| 26 |
|
|
| 27 |
|
Installation |
| 28 |
|
------------ |
| 29 |
|
1. Copy special_menu_items folder to your sites/all/modules directory. |
| 30 |
|
2. At Administer -> Site building -> Modules (admin/build/modules) enable the module. |
| 31 |
|
3. Configure the module settings at Administer -> Site configuration -> Special Menu Items (admin/settings/special_menu_items). |
| 32 |
|
|
| 33 |
|
Upgrading |
| 34 |
|
--------- |
| 35 |
|
Just overwrite (or replace) the older special_menu_items folder with the newer version. |
| 36 |
|
|
| 37 |
|
Contact |
| 38 |
|
------- |
| 39 |
|
This module is maintained by Tamir Zoubi - zoubi@servit.ch. |