Dropdown menus for global navigation in Plone
You will get the dropdown menus for those items in global navigation that have the subitems. Submenus are build based on the same policy as the Site Map, so it will show the same tree as you would get in the Site Map or navigation portlet being in appropriate section. Requires plone.browserlayer to be installed in your site.
How it works
Dropdown menus are build based on the same policy as the Site Map, so it will show the same tree as you would get in the Site Map or navigation portlet being in appropriate section. This means - no private objects for anonymouses; no objects, excluded from the navigation - exactly the same behavior you would expect from Site Map or navigation portlet.
How to get it
- either get the python package from this page and do manual work
- or just add webcouturier.dropdownmenu to your buildout and that’s it. buildout will get it for you from PyPi.
webcouturier.dropdownmenu requires plone.browserlayer package to be installed in your site. plone.browserlayer package is shipped with Plone >= 3.1 and thus you don’t need anything extra when you have that version of Plone.
But for Plone 3.0.x < 3.1 the process looks like this:
- if you are creating a new Plone site and want it to support dropdown menus, just select 2 extension profiles Local browser layer support and Dropdown menus profile in Extension Profiles select when adding a new Plone site;
- if you want to add dropdown menus functionality to already-existing Plone site, you need to apply Local browser layer support extension profile and then Dropdown menus profile. You can do it either in portal_setup/Import or in portal_quickinstaller by simple installation procedure.
In Plone 3.1 you can simply install Dropdown menus profile in portal_quickinstaller without need of prior installation of Local browser layer support (that is not available for installation anyway, since is a part of core system).
IMPORTANT For Plone 3.0.x you should use plone.browserlayer 1.0.rc3. Be sure to define the right version of plone.browserlayer in your buildout.cfg (you are using buildout, aren’t you? ;)). For Plone 3.1.x just use the version you have.
Copyright and credits
Web Couturier Thanks to Wichert Akkerman (Simplon) for help
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size webcouturier.dropdownmenu-2.1.zip (38.5 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for webcouturier.dropdownmenu-2.1.zip