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.1.1 - (2010-09-23)

  • fixed the docs markup [chervol]

1.1 - (2010-09-22)

  • removed debug code [chervol]

  • fixed the dropdown CSS

  • fixed the Home tab highlight

1.0 - (2010-09-08)

  • 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.1.1.zip (34.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for quintagroup.dropdownmenu-1.1.1.zip
Algorithm Hash digest
SHA256 be150f7b85b992b56a30cad22f8808cac82ce21b1fd324c178d3aecdd963e63a
MD5 8d150009fbe3a5d60d9e996933cf7483
BLAKE2b-256 d2ce10f9e8302a4a18f9c90cf91655c7bad85d0d60907227f4261968f46af5f4

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