Products.ExpandableNavigation (0.1)
- Products.ExpandableNavigation download link: http://pypi.python.org/packages/source/P/Products.ExpandableNavigation/Products.ExpandableNavigation-0.1.beta.tar.gz#md5=ab9d82f4066b6f5b994ce46e5af7a4fa
- Homepage of Products.ExpandableNavigation: http://pypi.python.org/pypi/Products.ExpandableNavigation
- Description source: http://pypi.python.org/pypi/Products.ExpandableNavigation
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.