You are here: Home Plone products Products.ExpandableNavigation

Products.ExpandableNavigation (0.1)

1
by Olha Pelishok last modified 2009-06-19
0.0
0.0
0.0
0.0
Released on 2009-06-18 by Goldmund, Wyldebeast & Wunderliebe for Plone 3.0 under GPL - GNU General Public License available for All platforms.
Software development stage: beta
Adds a template for a sitemap portlet which expands its contents

What it does

This product aims to create a navigation portlet that will be able to expand / collapse its folders. It works only on Plone 2.5. (For Plone 3 we have collective.portlet.explorer.)

How it works

The products adds a view called 'portlet_expandable_navigation', which you can use to replace Plone's default 'portlet_navigation' with.

We use the entire sitemap instead of the navigation tree. The expanding and collapsing is done by the javascript 'skins/javascripts/expandable_navigation.js', which uses jQuery 1.3.2.

All navigation tree items are marked with a "collapsible" class, except the branch that the current item is in. This class is added in 'portlet_expandable_navtree_macro.pt'.

The product's installer ('Extensions/Install.py') will look into your portal's 'left_slots' and 'right_slots', and replace 'here/portlet_navigation/macros/portlet' with 'here/portlet_expandable_navigation/macros/portlet' for you.

The templates and view class in this package have been copied from CMFPlone's navigation portlet and modified.

Document Actions
Powered by Plone