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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for quintagroup.dropdownmenu-1.2.zip
Algorithm Hash digest
SHA256 d0f54a7d85d4749cb3aae264256554ef9eb09d964412f957b1f365edcf662c51
MD5 2ed7eab01c5c6125699c9303c1deaa2e
BLAKE2b-256 5b8f845dd067ab29667300c98f506d0614b651bdef7d7c5e867576c97855e3f5

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