Traverse to first item in folder
This package provides an view which traverses to the first item found in an ordered container. If the default view of the item, which the traverse view is traversing to is also a traverse view, the traversing happens again to the next sub-sub-item in the sub-folder, if possible.
The traversing/redirection is only done for users who are not allowed to see the folder listing of the current context (usally anonymous users and normal members). For users with higher permissions, a folder contents view is shown. This way, members can easily edit the folder without beeing redirected to another folder.
collective.folderishtraverse is an alternative to a default page in Plone. The difference is, that the target content is shown in the navigation tree and that traversing to any nested content in any level of the tree’s hierarchy is possible.
- normalize non-readable boolean expression. [jensens]
- Dont cache on instance to reduce write on reads. Cache volatile for 60min instead. [jensens]
- On traversing, don’t check for the published workflow state but for content permissions. [thet]
- Use the plone.app.contenttypes folder listing view as fallback view, if available. [thet]
- Add simplified Chinese translations. [jianaijun]
- Change permission needed to not beeing redirected to the first content item from List folder contents to Add portal content. This is a better default, as only editors need not beeing redirected to be able to add and edit content. [thet]
- Added Chinese Simplified translation. [jianaijun]
- Register views more generally to also support Dexterity based folderish types. [thet]
- Redirect not only for anonymous users but all users not having the “List folder contents” permission on contexts with “traverse_view” enabled. [thet]
- If no translation is found for a content item which’ language doesn’t match, continue with the next object in the folder instead of redirecting to the folder_summary_view. [thet]
- Add “en” and “de” translations. [thet]
- Do not try to translate object if no lang set. [rnix]
- Consider translation in traverse_view if LinguaPlone is installed. [rnix]
- Add z3c.autoinclude.plugin entry point. [thet]
- Use zExceptions.Redirect instead of request.response.redirect in traverse view. The Redirect exception redirects immediately instead of rendering the current page and submitting a transaction.commit() first. [rnix]
- Add NON_TRAVERSE_FALLBACK_VIEW. May be patched if fallback view for folder_contents should differ from folder_summary_view. [rnix]
- Check non-traversing fallback view against List folder contents permission instead of anonymous. [rnix]
- Show the “Display” content-menu also in the folder contents view on the Plone Site Root. The “Actions” menu is not displayed yet, since object_buttons are not registered for the Plone Site Root (copy, cut, rename and delete wouldn’t make much sense on the portal object itself). [thet]
- Show the Actions and Display content-menus also in folder content views. Allows Action submenu items like from c.folderorder and setting the display to something else than traverse_view. [thet]
- Add statusmessage for when displaying the traverse_view for non-anonymous users. [thet]
- When no endpoint is found, redirect to folder_summary_view for anonymous users. folder_contents needs higher permissions. [thet]
- For non-anonymous users or if no endpoint was found, redirect to folder_contents. This view is generally nicer and more usable. [thet]
- Allow the traverse_view also on the Plone Site itself. [thet]
- Initial release
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size collective.folderishtraverse-1.10.tar.gz (15.7 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for collective.folderishtraverse-1.10.tar.gz