Skip to main content

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

Project description

Change history

osha.linkcollection Changelog

osha.linkcollection 1.2.2 (2009-07-06)

  • small fix for a bug with empty append

osha.linkcollection 1.2.1 (2009-07-03)

  • Fixed problem where LC references a non existing doc but still appends it to the list (pilz)

osha.linkcollection 1.2 (2009-06-19)

  • test fixes (gerken)

osha.linkcollection 1.1 (2009-05-12)

  • Packaged egg (pilz)

osha.linkcollection 1.0 (2008-03-31)

  • Initial port

Detailed Documentation

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
[]

tbc

Contributors

  • Patrick Gerken (Syslab.com GmbH)

  • Jan Carel Brand (Syslab.com GmbH)

  • Alexander Pilz (Syslab.com GmbH)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slc.linkcollection-1.2.2.zip (23.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page