Skip to main content

The product allows Plone websites to update multilevel portal dropdown menu

Project description

Quintagroup Plone Drop Down Menu

The product allows Plone websites to update multilevel portal dropdown menu and edit it within Plone. This is eggified version of old qPloneDropDownMenu product. It is compatible with Plone 4 only.

Usage

You have a list of items of your top level menu, which you can edit in ‘drop down menu’ configlet form. Now, to add submenu to the certain menu item, you need to add unordered list inside of top level menu item (‘<li>…</li>’) after its title (‘<a></a>’):

<ul><li>...</li>...<li>...</li></ul>

Sample menu with 2 submenus. In this example we add submenus to ‘Members’, and ‘Events’ tabs:

<li id="portaltab-index_html" class="plain"><a href="http://example.com/" accesskey="t">Home</a></li>
<li id="portaltab-Members" class="plain"><a href="http://example.com/Members" accesskey="t">Members</a>
<ul>
<li><a href="http://example.com/Members/jdoe">John Doe</a><li>
<li><a href="http://example.com/Members/mmajor">Mary Major</a></li>
</ul>
</li>
<li id="portaltab-news" class="plain"><a href="http://example.com/news" accesskey="t">News</a></li>
<li id="portaltab-events" class="plain"><a href="http://example.com/events" accesskey="t">Events</a>
<ul>
<li><a href="http://example.com/events/previous">Past Events</a></li>
<li><a href="http://example.com/calendar">Calendar</a></li>
</ul>
</li>

Customize the following elements in your’s css files to change the appearance of drop down menu:

  • #portal-globalnav - global navigation bar

  • #portal-globalnav .csshover li.plain a, #portal-globalnav li a - global navigation link

  • #portal-globalnav .csshover li.plain a:hover, #portal-globalnav li a:hover - global navigation link hover

  • #portal-globalnav .csshover li.plain ul, #portal-globalnav li ul - global navigation drop-down box

  • #portal-globalnav .csshover li.plain ul li a, #portal-globalnav li ul li a - global navigation drop-down link

  • #portal-globalnav .csshover li.plain ul li a:hover, #portal-globalnav li ul li a:hover - global navigation drop-down link hover

You can click button on drop down menu configlet form to reset menu. This can be useful in case html of menu code is broken. Generated code is based on status of ‘Automatically generate tabs’ in your ‘Navigation settings’. However you will lose your previous code of menu with all submenus after click on ‘regenerate menu’.

Requires

Plone 4

Authors

  • Vitaliy Podoba

  • Taras Melnychuk

Plone Development by Quintagroup, 2004-2012

Installation

You can install Products.qPloneDropDownMenu on Plone 4 sites. For that:

  • Add Products.qPloneDropDownMenu to the list of eggs to install:

    [buildout]
    ....
    eggs =
         ...
         Products.qPloneDropDownMenu
  • Re-run buildout, e.g. with:

    $ ./bin/buildout
  • Restart the Zope server, e.g with the following command in the terminal:

    $ ./bin/instance restart
  • Install Products.qPloneDropDownMenu via QuickInstaller in Plone.

Changelog

3.0 - July 14, 2010

  • Plone 4 support added

Project details


Release history Release notifications | RSS feed

This version

3.0

Download files

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

Source Distribution

Products.qPloneDropDownMenu-3.0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

Products.qPloneDropDownMenu-3.0-py2.6.egg (30.3 kB view details)

Uploaded Source

File details

Details for the file Products.qPloneDropDownMenu-3.0.tar.gz.

File metadata

File hashes

Hashes for Products.qPloneDropDownMenu-3.0.tar.gz
Algorithm Hash digest
SHA256 ed2912e5bf40fba95304ba0ec81cae2fd48a7c68168cc9c40f998ac2d3f8f5c2
MD5 23e4b1b2df0c78571d1d4715af69b9f5
BLAKE2b-256 f5e40ab9f20a072277dc00b3433315bfd7a046e81cc12a87b664894972769b1e

See more details on using hashes here.

File details

Details for the file Products.qPloneDropDownMenu-3.0-py2.6.egg.

File metadata

File hashes

Hashes for Products.qPloneDropDownMenu-3.0-py2.6.egg
Algorithm Hash digest
SHA256 c99e6e956051f055ba42bacd67664e2be0c271d7f7a959fe74860861b5768b37
MD5 71c9ac70953688f904a34cc3fc865218
BLAKE2b-256 3941afcb5bfe454592d919ff04797d045b478272624ec008c13c755b47001b71

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