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.2 - June 21, 2011

  • Fixed caching content tabs and action tabs

  • portal_action generated menu caching is conditional and switched off for now

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.2.zip (38.5 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for quintagroup.dropdownmenu-1.2.2.zip
Algorithm Hash digest
SHA256 a30b65832311db1d026b89f344f5154003758cf693084bd53376daf6e5026078
MD5 c3f665105779e8980914c886fcbc2961
BLAKE2b-256 125e0eefbae601560296a6512dd51c56c636024c065a05d46d012265e4cae4f3

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