Viewlet displaying user-editable links on portal or folder level
Project description
Overview
This package provides a viewlet that lets you enter in a list of local and external links on plonesite level and on subfolders. Usually these links get displayed in the footer, but the viewlet can be placed anywhere.
After installation the viewlet displays a Manage links button for users with the corresponding permission (granted to managers by default). Users can set the links for a context that implements ICanDefineLinks (plonesite or folders by default) by inserting them in a textfield like this:
Plone;http://plone.org Zope;http://zope.org Internal;/relative/to/plone-site
Links defined on the portal get displayed in subfolders too, as long as they do not define their own links.
See the package README for a test describing this package’s functionality in detail.
Installation
To use this package in a plone buildout add plone.app.z3cform to the eggs section and to the zcml slug for the zope instance:
[instance] recipe = plone.recipe.zope2instance ... eggs = ... collective.viewlet.links ... zcml = collective.viewlet.links
Since collective.viewlet.links requires plone.app.z3cform the buildout is a little more complicating. See the developer buildout for an example.
use plone.recipe.zope2install >= 3.0 (default fake-eggs)
use same skip-fake-eggs
Contribute
If you want to contribute to collective.viewlet.links, you can use the developer buildout. See the README there for instructions on how to setup an instance and run the tests.
Changelog
2009/03/30 0.1rc1
initial release
validator that checks for correct syntax and valid urls [Liz]
css for formatting links similar to portal colophon links [fRiSi]
@@manage-links is able to edit links instead of needing to insert all of them again [fRiSi]
cleanup package: removed configlet, widget and other stuff that’s not needed for a functioning product yet. all the stuff is still available for lizzy in http://dev.plone.org/collective/browser/collective.viewlet.links/branches/liz_newform [fRiSi]
added custom permission for managing links [fRiSi]
using List(value_type=Object(schema=ILink)) for storing links [fRiSi]
enabled storing links on any folder as annotation
added README with basic functional test that ensures defining links and displaying them in viewlet works [fRiSi]
fixed tests for plone 3.1 and plone.z3cform 0.3
(see nouri’s comment “Updated to work with 0.3 plone.z3cform and plone.app.z3cform” on http://plone.org/documentation/how-to/easy-forms-with-plone3) [fRiSi]
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 Distribution
Hashes for collective.viewlet.links-0.1rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 544e69e512b1c9e4f68d0f55f9fd4bd1fb494048822484831c4d0f61dd4a9760 |
|
MD5 | 6c46d4cc02ead82aae2a03bbb15749e9 |
|
BLAKE2b-256 | b09d275028cf4621a5cb72b0d50dd9ab187cc8fe708e01704cc56abb9a57371c |
Hashes for collective.viewlet.links-0.1rc1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788f914e80a0b9f276c973a1014518be436cbb3224cd1e40a73859f66c851b99 |
|
MD5 | a8c4163cb3886e6a8c4654fefb9b7579 |
|
BLAKE2b-256 | c5c86caae0b49b651ae7154590cc9353c2b647af8a1590625410f018539ad4a0 |