Dropdown menus for global navigation in Plone
Project description
Overview
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.
If you are not familiar with managing python packages, please read Packages, products and eggs page of the great tutorial by Martin Aspeli who is much more clever than me and don’t spam my inbox ;)
Requirements
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for webcouturier.dropdownmenu-2.1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | bced1a83d9570aa4b9588158ff896be73b038baa7fa1426b455a1232cffd8060 |
|
MD5 | 78adfceb32168c183c0d207b0120a79a |
|
BLAKE2b-256 | 2bb3d94cdf28171c701174ec875c192143c2c5e56a67b578f189fe9959fcd778 |