Skip to main content

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.

Author

Denys Mishunov

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for webcouturier.dropdownmenu, version 2.1
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

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page