A viewlet displaying links to subdocuments and quickly loading their content via jquery
Project description
Project Description
Code repository: http://svn.plone.org/svn/collective/slc.linkcollection
Questions and comments to info (at) syslab (dot) com
Report bugs at http://plone.org/products/slc.linkcollection
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.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
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 []
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)
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.