Manage portal tabs from Plone hiding difficulties
Project description
Introduction
When you need this
You need this product when you want to give to your non-technical users the ability to manage the portal tabs section of your Plone site.
Going deeply:
you don’t want that your users (even if Manager) go to ZMI
you users don’t know nothing about TAL and python, and commonly want only to add static links to the site
your additional tab don’t need advanced features like condition for being seen, or permissions
When you don’t need this
If you only need to port into Plone the “portal_action” tool customization, you will find a great product in quintagroup.plonetabs
How to use
First note
This product only manage portal tabs that are not automatically generated from Plone. For this reason, a warning message is displayed if the “Automatically generate tabs” option is selected in the “Navigation settings” panel.
Handling tabs
From the “Site Setup” panel, go to the new “Manage portal tabs” link you’ll find after the product installation.
The “Portal Tabs settings” view is composed by two section; the first one for make changes to existing tabs (and also order and delete them), and the second for adding new tabs.
Newly created tab only need two kind of information: the name of the tab to be displayed (title) and the URL. When creating a tab you can also handle the id of the tab, or this will be automatically generated.
What I can write inside an URL section?
The product try to hide some of the too-technical feature you have available in the ZMI portal_actions tool management, however all features are still there.
to create a link to something, just type the link (e.g: “http://foo.org”)
TAL espression are still available, but you need to start them with a “tal:”
inside an URL, you can still use expressions in the normal form “${foo1/foo2/…}”
Manage additional actions categories
You can use collective.portaltabs to handle also others than “portal_tabs”. To do this you need to go to ZMI, in the “portal_properties” tool and change the “portaltabs_settings”.
In the “manageable_categories” you can add additional entries:
portal_tabs|Portal tabs foo_tabs|My special tabs
All entries are if the form “actions_id|Title to be displayed” and the action_id action category must be exists. Going back to the “Portal Tabs settings” make possible to handle also those new actions
TODO
Simplify creation of tabs that simply are links to site contents
Make possible for non-Manager users to handle tabs
Error checking
Block users from creating TAL/Python expression if you don’t want
Tests
Bug report and feature request
Please, go to the product’s issue tracker on plone.org website.
Changelog
0.1.0a (2010-12-15)
initial release
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
Built Distributions
Hashes for collective.portaltabs-0.1.0a.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6efb2300d3eebe2073b4cc14aac5c66321e3b6017f4c57e1dc284da4ca498ee |
|
MD5 | 85c9c786fa62384bd82fe53741bbf560 |
|
BLAKE2b-256 | 873b6a28881cec90165b1ac46500946435d3f4eb5a5f0d4f27c2425c5afea860 |
Hashes for collective.portaltabs-0.1.0a-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d65c9d5aeee1d072327fc159994940b381746ffef2d13e427be21727b932196 |
|
MD5 | 5d28b981fb75aca63d006d7c40088e36 |
|
BLAKE2b-256 | 2691d60df684c33ecaa6046ff56a8ecbae9a7549cebafaeb57b9e0bfaca6df7c |
Hashes for collective.portaltabs-0.1.0a-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2c5814dc09be30e58dc970ee3c8438ace5177f62bf556465747b5aa719a10f4 |
|
MD5 | cdb703e921ecc53af9266a3225a90bcf |
|
BLAKE2b-256 | e48d905b4e9b7c4727319af4ecd7f1c94075d9aaad71b22eed25a8e7c017774a |