webcouturier.dropdownmenu

Dropdown menus for global navigation in Plone

Current release
webcouturier.dropdownmenu 2.0

Released Apr 13, 2009 — tested with Plone 3

Caching output xhtml, Plone Control panel configlet, new icon for configlet.
More about this release…

Download fileGet webcouturier.dropdownmenu for all platforms (19.4 kB)
webcouturier.dropdownmenu-2.0.tar.gz

Project Description

webcouturier.dropdownmenu

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 Localbrowserlayersupport and Dropdownmenusprofile 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 Localbrowserlayersupport extension profile and then Dropdownmenusprofile. 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 Dropdownmenusprofile in portal_quickinstaller without need of prior installation of Localbrowserlayersupport (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.

Author

Denys Mishunov