The product allows Plone websites to update multilevel portal dropdown menu and edit it within Plone. This is eggified version of old qPloneDropDownMenu product. It is compatible with Plone 4 only.
Usage
You have a list of items of your top level menu, which you can edit in 'drop down menu' configlet form. Now, to add submenu to the certain menu item, you need to add unordered list inside of top level menu item ('
...') after its title ('
')::
Sample menu with 2 submenus. In this example we add submenus to 'Members', and 'Events' tabs::
Home
Members
News
Events
Customize the following elements in your's css files to change the appearance of drop down menu:
- #portal-globalnav - global navigation bar
- #portal-globalnav .csshover li.plain a, #portal-globalnav li a - global navigation link
- #portal-globalnav .csshover li.plain a:hover, #portal-globalnav li a:hover - global navigation link hover
- #portal-globalnav .csshover li.plain ul, #portal-globalnav li ul - global navigation drop-down box
- #portal-globalnav .csshover li.plain ul li a, #portal-globalnav li ul li a - global navigation drop-down link
- #portal-globalnav .csshover li.plain ul li a:hover, #portal-globalnav li ul li a:hover - global navigation drop-down link hover
You can click button on drop down menu configlet form to reset menu. This can be useful in case html of menu code is broken. Generated code is based on status of 'Automatically generate tabs' in your 'Navigation settings'. However you will lose your previous code of menu with all submenus after click on 'regenerate menu'.
Requires
Plone 4
Authors
- Vitaliy Podoba
- Taras Melnychuk
Plone Development by Quintagroup <http://quintagroup.com>
_, 2004-2012
Installation
You can install Products.qPloneDropDownMenu on Plone 4 sites. For that:
-
Add Products.qPloneDropDownMenu
to the list of eggs to install::
[buildout]
....
eggs =
...
Products.qPloneDropDownMenu
-
Re-run buildout, e.g. with::
$ ./bin/buildout
-
Restart the Zope server, e.g with the following command in the terminal::
$ ./bin/instance restart
-
Install Products.qPloneDropDownMenu via QuickInstaller in Plone.
Changelog
3.0 - July 14, 2010