Yet Another Navigation Portlet.
Project description
Yet another navigation portlet. This is quite similar to collective.portlet.sitemap, except that there are slightly different options. Like collective.portlet.sitemap, it optionally allows you to display the navigation tree expanded, like the sitemap does.
This portlet is also optimized to work in Lineage sites, as it allows you to root the navigation portlet from the portal root, the navigation root or the current context. Changelog =========
2.1 (2015-12-14)
Make cache time configurable and set it to 0 seconds. 0 is no caching. There were some issues, where content changes did not reflect in the menus. A good value might be 10 seconds to avoid unnecessary recalculating. [thet]
2.0 (2015-07-15)
Move all memoize-instance cached methods from plone.app.portlet’s navigation portlet to this implementation to apply ram caching on it. Avoids some more write-on-reads. [thet]
Get rid of write-on-reads and their conflicts by reducing the number of instance memoizes. [jensens]
Cache the rendered portlet for an hour with sensible cache keys (portlet_id, path, user) for maximum 1 hour. [thet]
Make search_base required, so that at least the first item of the vocabulary is preselected. [thet]
Change css_class_main from a TextLine field to a Choice Field, making it possible to choose from a vocabulary with nice sounding titles instead of having to fill in CSS classes directly. Overrideable via overrides.zcml. [thet]
Switch to z3c.form for the AddForm and EditForm. [thet]
Remove the browserlayer, which is nowhere used. [thet]
1.0 (2015-03-04)
Initial version. [thet]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for bda.portlet.sitenavigation-2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c54e50e051f22b06efe44cfe643023237f820d1f89c9fe1de6a211f961b20c9c |
|
MD5 | 67d71e3c784029de1f6c3e9dc7d4df41 |
|
BLAKE2b-256 | 5dedf9f2432d9f2a3101dee4f03331d3c164c5f2162ce71474321732a451dcd5 |