Skip to content
Dropdown menus for Plone
Python CSS Shell JavaScript
Branch: master
Clone or download
Pull request Compare This branch is 155 commits ahead of mishunov:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src/webcouturier
.coveragerc
.gitignore
.travis.yml
CHANGES.rst
DEVELOP.rst
MANIFEST.in
README.rst
bootstrap-buildout.py
bootstrap.sh
buildout.cfg
requirements.txt
setup.cfg
setup.py

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, 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, 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 anonymous; no objects, excluded from the navigation - exactly the same behavior you would expect from Site Map or navigation portlet.

Installation

As any add-ons, please follow the official install documentation.

Tips

While disabling clicking the links with children, one may want the links in the global navigation bar to be clickable nevertheless

What you need is to customize the browser/static/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.

Contribute

https://travis-ci.org/collective/webcouturier.dropdownmenu.svg?branch=master https://coveralls.io/repos/github/collective/webcouturier.dropdownmenu/badge.svg?branch=master

We'd be happy to see many commits, forks and pull-requests to make webcouturier.dropdownmenu even better.

If you are having issues, please let us know.

Open an issue or send us an e-mail to dev@bluedynamics.com.

Credits

Authors:

Contributors:

You can’t perform that action at this time.