MyMenu
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Adds several menu blocks that might be useful for a site:
- Language switch with Prefixes, i.e. EN|FR|DE|IT
- Dropdown personal menu
- User Profile/login
Used on 2-3 production sites.
Dropdown:
The idea is to show a menu in a block to authenticated users that allows navigation to parts of the website not covered by for example primary links.
The menu is a dropdown list, containing just one level of items from a specified starting point in the menu tree.
Example: in the navigation menu, create an Item "My Menu" and then drag in selected navigation menu items as children.
Configuration: Enable the My Menu block and then set some variables in settings.php:
$conf['mymenu_title'] = 'My Menu'; // Title of the closed dropdown
$conf['mymenu_blocktitle'] = '<none>'; // Title for the block
$conf['mymenu_menutop'] = 'navigation'; // Which menu
$conf['mymenu_menutree'] = 'My Menu'; // Top level item in the Menu tree
Related modules: DHTML menu, Nice menus, ..
I originally used nice menus but needed the dropdown as a form select list so that it would render according to the browser/platform, e.g. it would display as a (usable) dropdown on an iphone. This module is simple: refer to the related modules for more complete solutions.
This module was developed for the Swisscom Labs.
