Skip to main content

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

Project description

Project Description

Credits

Copyright European Agency for Health and Safety at Work and Syslab.com GmbH.

slc.linkcollection development was funded by the European Agency for Health and Safety at Work.

License

slc.linkcollection is licensed under the GNU Lesser Generic Public License, version 2 or later and EUPL version 1.1 only. The complete license texts can be found in docs/LICENSE.GPL and docs/LICENSE.EUPL.

Change history

slc.linkcollection Changelog

1.3.7 (2011-05-19)

  • Added “slow” scrolling to anchors for jQuery based version [thomasw]

1.3.6 (2011-05-18)

  • New jquery-ui based link collection: simply assign class “linkcollection” to a number of h2 tags. SEO improvement, refs #2830 [thomasw]

1.3.5 (2011-01-24)

  • Added new styles to linkbox, provided by cornae. Reference: Syslab #1152 [cornae, thomasw]

  • Added anchor and corresponding “Go up” link. Reference: Syslab #1152 [thomasw]

1.3.4 (2010-11-23)

  • deactivated setting the div’s height to maxheight #253 [thomasw]

1.3.3 (2010-10-21)

  • set a class denoting the currently selected item also on the <li>, not only on the <a> tag [thomasw]

1.3.2 (2009-09-30)

  • Nothing changed yet.

1.3.1 (2009-09-30)

  • Bug fix: the parent folder could be selected as a link even though it isn’t a document

  • Feature: scroll to the top of the linkbox when a document is displayed without causing the page to jump up and down for longer and shorter documents.

1.3.0 (2009-09-29)

  • linkcollection can now also be used on ATFolders. For the Annotations-factory, I had to use a somewhat awkward naming & inheritance construct, so as not to break existing linkcollection instances.

  • added a BrowserView (linkcollection-view) for displaying contents of a Linkcollection

  • enhanced search mechanism to distinguish between folder and document (thomasw)

slc.linkcollection 1.2.3 (2009-07-20)

  • added an id to the linkcollection prefetched docs so that they can be fetched by the linkscanner (pilz)

slc.linkcollection 1.2.2 (2009-07-06)

  • small fix for a bug with empty append

slc.linkcollection 1.2.1 (2009-07-03)

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

slc.linkcollection 1.2 (2009-06-19)

  • test fixes (gerken)

slc.linkcollection 1.1 (2009-05-12)

  • Packaged egg (pilz)

slc.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

  • Alexander Pilz (Syslab.com GmbH)

  • Cillian de Roiste (Syslab.com GmbH)

  • Jan Carel Brand (Syslab.com GmbH)

  • Patrick Gerken (Syslab.com GmbH)

  • Wolfgang Thomas (Syslab.com GmbH)

  • Cornelis Kolbach (Cornae.org)

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.3.7.zip (32.5 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