Menu Templates
Categories
Component ID
2021635
Component name
Menu Templates
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1104
Component created
Component changed
Component body
Overview
Allows the user to create customized templates for menus (maximum of 3 levels) by editing the 2 main structures: the level's wrapper and the level's structure itself.
Features
- Each template is directly related to a single menu;
- The admin user must be aweare of the HTML compatibility between wrapper and template fields;
- There are 4 tokens to be used as menu-content:
- !tree: represents where the whole menu tree should be placed;
- !attributes: automatic Drupal classes like "active"
- !link: represents where the menu links should be placed;
- !submenu: if the menu has more than one level, this token will set where the next level should be placed in the HTML. If the next level is triggered by a parent-item, both tokens !link and !submenu should be placed together
Requirements
-
Â
- Menu
Sponsorship
This project has been sponsored by CI&T.
Installation
Just follow the Drupal standard way.
Similar projects
Mobile development tip
Weinre
Weinre is a debugger for web pages, like FireBug (for FireFox) and Web Inspector (for WebKit-based browsers), except it's designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone.
