slc.linkcollection

A viewlet displaying links to subdocuments and quickly loading their content via jquery

Current release

No stable release available yet.

Project Description

Detailed Documentation

Link Collection Viewlet

This package provides a little viewlet which displays links to other documents. If you click the links, the body of the referenced document is loaded into the current page using kss. By default the viewlet is placed between description and body text of a document. It shows only if the current context does reference some other documents.

>>> self.loginAsPortalOwner()
>>> doc = self.portal.invokeFactory('Document', 'maindoc')
>>> maindoc = self.portal.maindoc

While logged in with Modify portal contents permissions, you will see a small edit icon where you can manage the references. They will be stored using annotations on the current context.

>>> from slc.linkcollection.interfaces import ILinkList
>>> ILinkList(maindoc).urls
[]

System Message: WARNING/2 (<string>, line 63)

Block quote ends without a blank line; unexpected unindent.

Contributors

  • Patrick Gerken (Syslab.com GmbH)
  • Jan Carel Brand (Syslab.com GmbH)
  • Alexander Pilz (Syslab.com GmbH)