Plone Drop Down Menu

by Quintagroup last modified Feb 16, 2011 02:16 AM

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.

Important

qPloneDropDownMenu product is no longer supported, please use our new package quintagroup.dropdownmenu.

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

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

Current Release
Products.qPloneDropDownMenu 3.0

Released Jul 19, 2010 — tested with Plone 4

Eggified release for Plone 4 only.
More about this release…

Download file Get Plone Drop Down Menu for all platforms
Products.qPloneDropDownMenu-3.0.tar.gz
Download file Get Plone Drop Down Menu for all platforms
Products.qPloneDropDownMenu-3.0-py2.6.egg
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Licenses Status
3.0 Jul 19, 2010 Eggified release for Plone 4 only. More about this release…
Plone 4
GPL final
0.2.1 Jul 24, 2009 Bugfix release. More about this release…
Plone 3
GPL final
0.2 Apr 01, 2009 Plone 3 support release. More about this release…
Plone 3
GPL final
0.1.6 Jan 16, 2006 Plone Drop Down Menu (qPloneDropDownMenu) product allows managing multilevel drop down menus in Plone. Drop down menu implemented by qPloneDropDownMenu Plone product is search engine friendly. More about this release…
Plone 2.1.1
Plone 2.1
Plone 2.0.5
GPL final
0.1.10 Jul 04, 2006 The product allows Plone websites to update multilevel portal More about this release…
Plone 2.1.2
Plone 2.1.1
Plone 2.0.5
ZPL final