Package: collective.viewlet.links
OverviewThis 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 aManage linksbutton for users with the corresponding permission
(granted to managers by default).
Users can set the links for a context that implementsICanDefineLinks(plonesite or folders by default)
by inserting them in a textfield like this:Plone;http://plone.org
Internal;/relative/to/plone-site
Webmeisterei;http://webmeisterei.comLinks defined on the portal get displayed in subfolders too, as long as they do not define their own links.See thepackage READMEfor a test describing this package’s functionality in detail.Ascreenshotof how links can be added and how they are displayed
can be found on theproduct pageon plone.org.InstallationTo use this package in a plone buildout addplone.app.z3cformto the eggs section and to the
zcml slug for the zope instance:[instance]
recipe = plone.recipe.zope2instance
...
eggs =
    ...
    collective.viewlet.links
    ...
zcml =
    collective.viewlet.linksSince collective.viewlet.links requiresplone.app.z3cformthe buildout is a little more complicating.
See thedeveloper buildoutfor an example.use plone.recipe.zope2install >= 3.0 (default fake-eggs)use same skip-fake-eggsContributePlease submit bugs or feature requests to theissue trackeron theproduct page.If you want to contribute to collective.viewlet.links, you can use thedeveloper buildout.See the README there for instructions on how to setup an instance and run the tests.AuthorsLiz Dahlstrom (lizz-y)Initial idea and implementationHarald Friessnegger (fRiSi)added support for custom links for content objects,
unittests, devbuildout and made links be stored in an annotationChangelog2009/12/11 0.2rc1Improved validation allows internal links and displays errors
so users know which links did not validate.validation allows internal links again
[Liz]include plone.app.z3cform so validation errors are displayed nicely
[fRiSi]added reference to product page and a screenshot to the README.
[fRiSi]added i18n infrastructure and german translations (seedeveloper buildout READMEfor information
how to add new translations
[fRiSi]fixed GS version number so it won’t get confused with package version
(http://plone.org/support/forums/core#nabble-td2561549)
[fRiSi]2009/03/31 0.1rc2using safe_unicode in i18n messagefactories to make them work with non ascii characters too.
(viewlet raised an error when used on folders with umlauts in their title)
[fRiSi]2009/03/30 0.1rc1initial releasevalidator 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 inhttp://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 annotationadded 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” onhttp://plone.org/documentation/how-to/easy-forms-with-plone3)
[fRiSi]