Table of Contents
A behavior for Dexterity-based content types to add a button to automatically fill related items based on shared tags.
Got an idea? Found a bug? Let us know by opening a support ticket.
To enable this package in a buildout-based installation:
- Edit your buildout.cfg and add add the following to it:
[buildout]
...
eggs =
collective.behavior.autorelateitems
After updating the configuration you need to run ''bin/buildout'', which will take care of updating your system.
Go to the 'Site Setup' page in a Plone site and click on the 'Add-ons' link.
Check the box next to Support for Automatic Related Items
and click the 'Activate' button.
To use this behaviour you need to also enable Related Items behavior in your content type.
When you fire the button to load related items, it will search for all the items with more similar tags, and fill the related items automatically.
To calculate the similar tags, this package do one search for each tag, and sum how many times the item appear at the searches. The item that appear more are the item with more similar tags.
The amount of items filled are configured into a controlpanel option.
- fourdigits.portlet.keywordrelated
- This product gives you a new portlet: the KeywordRelatedPortlet. It shows other content in the site that has the same tags as the current page.
- collective.simserver.related
- collective.simserver.related provides a form to query the simserver for similar items and set them as related items. A simserver collection queries the simserver for all documents related to this collection. More information at: https://github.com/collective/collective.simserver.core
- collective.relatedslider
- This is a Plone addon that adds a behavior and viewlet for displaying related content in a scrollable slider at the bottom of the content area. It can use either the relatedItems behavior or collection behavior applied to the content for determining the related items.
- collective.portlet.relateditems
- This is a simple portlet that displays content similar to the present context. Related items are compiled based on the context title and keywords. In case of a folderish context related items are computed based on the contents of the folder and the folder information.