Skip to main content

Multilevel portal dropdown menu for Plone sites.

Project description

Introduction

This package allows to build dropdown menu through the web with portal_actions. Submenus are built from a tree of nested Category Actions and Actions. The other strategy used to populate submenus is Plone default NavigationStrategy, the one used in navigation portlet.

This project is successor of qPloneDropDownMenu.

Building you dropdown menu with portal_actions

Starting from Plone 3 portal actions introduced CMF Action Category containers, it opened opportunity to build nested actions trees. Though CMF Action Category does not behave as a regular action, it has different set of properties. We introduced convention in quintagroup.dropdownmenu that requires to have a specially named Action for each Actions Category. The id of each such action must be build using the rule:

action_id = prefix + category_id + suffix

where:

category_id:

is id of correspondent CMF Action Category

prefix:

defined in DropDownMenu configlet, default value ‘’

suffix:

defined in DropDownMenu configlet, default value ‘_sub’

So, the actions structure can look like:

+ portal_tabs
|- home
|- blog_sub
|-+ blog
| |-- 2009
| |-- 2010

By default the root of dropdown menu is ‘portal_tabs’ category.

Compatibility

  • Plone 4 sample CSS file based on Sunburst theme provided

  • Plone 3.0-3.3 the default CSS file has to be overridden

Installation

Changelog

1.2.1 - June 15, 2011

  • Caching fixed

1.2 - Apr 6, 2011

  • Changed z3c.autoinclude includeDependencies to simple include to work in plone 3.2 [kroman0]

  • drop-down overlay bug fixed [wald]

  • cleared unnecessary classes, changed styles to current and hover element [gvizdyk]

  • Fixed uninstallation. Added unisntallation with QI [mylan]

  • Tests refactoring [mylan]

1.1.1 - Sep 23, 2010

  • fixed the docs markup [chervol]

1.1 - Sep 22, 2010

  • removed debug code [chervol]

  • fixed the dropdown CSS

  • fixed the Home tab highlight

1.0 - Sep 08, 2010

  • Initial release

Project details


Download files

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

Source Distribution

quintagroup.dropdownmenu-1.2.1.zip (38.2 kB view details)

Uploaded Source

File details

Details for the file quintagroup.dropdownmenu-1.2.1.zip.

File metadata

File hashes

Hashes for quintagroup.dropdownmenu-1.2.1.zip
Algorithm Hash digest
SHA256 abed01fa7350736a20984ef8e8b82cd1cc5d93cea1338308744cb1a699b8d0cb
MD5 d88cd66048da559d3e8e64629af59a52
BLAKE2b-256 bc804170ff7d27adee0776f58d5b424871879b22deb50bd36a385a861c72b018

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page