Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Pin versions so they work with Plone 4.1.

This is in the sample buildout for testing.
The important one here is collective.xmltestreport,
which grew a dependency on z3c.recipe.scripts in version 1.2.7,
which needs a newer zc.recipe.egg than is standard in Plone 4.1.x.
latest commit 15582cf6c3
Maurits van Rees mauritsvanrees authored August 22, 2013
Octocat-spinner-32 docs Fixed the reStructured text in the documentation files, updated READM… August 17, 2011
Octocat-spinner-32 src pep8 and pyflakes August 22, 2013
Octocat-spinner-32 .gitignore added options April 16, 2013
Octocat-spinner-32 CHANGES.txt removed newline April 22, 2013
Octocat-spinner-32 MANIFEST.in add MANIFEST July 26, 2012
Octocat-spinner-32 README.rst keep only one README. January 23, 2012
Octocat-spinner-32 bootstrap.py Added bootstrap.py and simple buildout.cfg to test with Plone 4. December 08, 2010
Octocat-spinner-32 buildout.cfg Pin versions so they work with Plone 4.1. August 22, 2013
Octocat-spinner-32 buildout3.cfg Moved the plone.app.testing and unittest2 dependencies to a test extra. December 10, 2011
Octocat-spinner-32 setup.py pep8 and pyflakes August 22, 2013
README.rst

webcouturier.dropdownmenu

Overview

The dropdown solution for Plone since 2007.

You will get the dropdown menus for those items in global navigation that have the subitems. Submenus are built based on the same policy as the Site Map, so it will show the same tree as you would get in the Site Map or navigation portlet being in appropriate section.

How it works

Dropdown menus are build based on the same policy as the Site Map, so it will show the same tree as you would get in the Site Map or navigation portlet being in appropriate section. This means - no private objects for anonymouses; no objects, excluded from the navigation - exactly the same behavior you would expect from Site Map or navigation portlet.

Installation

As any addons, please follow the official install documentation: http://plone.org/documentation/kb/add-ons/installing

Tips

  • While disabling clicking the links with children, I want the links in the global navigation bar to be clickable nevertheless.

    What you need is to customize the browser/dropdown.js file like the following:

    jQuery(function ($) {
        $('#portal-globalnav ul .noClick').click(function (e) {
            e.preventDefault();
        });
    });
    

    Note that we have added ul in the jQuery selector. This will stop clickability of the links in the dropdowns only, but not the section's link in the global navigation bar itself.

Credits

Authors:

Contributors:

  • Wichert Akkerman [wichert] Simplon
  • JeanMichel FRANCOIS [toutpt] Makina-Corpus
  • Thomas Desvarin [thomasdesvenain] Ecréall
  • Maurits van Rees [maurits]
  • David Glick [davisagli]
  • Matt Halstead [matthal]
  • Leonardo J. Caballero G. [macagua]
  • Florian Schulze [fschulze]
Something went wrong with that request. Please try again.