EEA Possible Relations. This package provides a flexible way to manage relations in a Plone site. it provides a new reference browser widget and a central management interface for relations, their labels and requirements.
Project description
Introduction
EEA Relations package redefines relations in Plone. Right now in Plone any object can be in relation with any other object. EEA Relations lets you to define possible relations between objects. EEA Relations also comes with a nice, customizable faceted navigable popup for relations widget.
Once installed from “Add-ons”, the package will add an utility called “Possible relations” under “Control Panel”.
Main features
Main goal of EEA Relations is to be an alternative to the default Plone related item widget.
EEA Relations features:
Define/restrict what kind of content types a certain content can relate to
Set restrictions on possible relations (e.g. relations can be made only with published content)
You can define easy to use faceted searches (using EEA Faceted navigation) on the relate items popup
Nice visual diagram showning all the relations and restrictions you defined (Control Panel -> Possible relations)
Installation
zc.buildout
If you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:
Update your buildout.cfg file:
Add eea.relations to the list of eggs to install
Tell the plone.recipe.zope2instance recipe to install a ZCML slug
[instance] ... eggs = ... eea.relations zcml = ... eea.relations
Re-run buildout, e.g. with:
$ ./bin/buildout
You can skip the ZCML slug if you are going to explicitly include the package from another package’s configure.zcml file.
Getting started
Once you install the package from “Control Panel Add-ons”, the package will add an utility called “Possible relations” under “Control Panel” from where you can start define the relations, the constraints between contents etc.
Dependencies
EEA Relations has the following dependencies:
graphviz
$ yum install graphviz $ apt-get install graphvizpydot
eea.facetednavigation
API Doc
Source code
Latest source code (Plone 4 compatible): - Plone Collective on Github - EEA on Github
Copyright and license
The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.
The EEA Relations (the Original Code) is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
More details under docs/License.txt
Funding
EEA - European Environment Agency (EU)
Changelog
5.6 - (2013-01-28)
Feature: added related content header to relatedItemsWithThumbs macro [ichimdav #13639]
5.5 - (2013-01-16)
Bug fix: Optimize queryContentType component. Now it’s 5 times faster [voineali refs #13590]
5.4 - (2013-01-15)
Change: removed i18n information regarding pagination since no code for it is found inside eea.relations [ichimdav]
5.3 - (2013-01-10)
Change: relationItems are now rendered by default with an album_view style which can be changed by supplying a template parameter [ichimdav #10182]
Change: changed auto relations logic returns False instead of generator when there are no results [ichimdav #10182]
5.2 - (2012-11-22)
Feature: added subscriber to update relations once a relation contenttype has been renamed [ichimdav #9547]
Feature: added warning of broken relation when viewing the portal_relations, relations and content types pages and continue displaying graph without those broken relations [ichimdav #9547]
5.1 - (2012-11-09)
Change: better Zope logging when listing relations that don’t comply portal_relations schema [ghicaale refs #6773]
Change: pass context to eeareferencebrowser-popup-selecteditem.html so that eea.daviz knows how to get the context of the field [tiberich refs #9571]
Change: added tests and documentation for listing relations that don’t comply portal_relations schema [ghicaale refs #6773]
5.0 - (2012-10-08)
Change: use IVideo interface when checking for videos [ichimdav #5480]
Feature: Added a listing of all relations that don’t comply portal_relations schema [ghicaale refs #3212]
Bug fix: Fix doc tests [voineali]
4.8 - (2012-08-27)
Bug fix: correctly set css class for related links to avoid floating issues [ichimdav #5455]
Bug fix: show fancybox popup on video click and display view page instead of downloading file [ichimdav #5403]
Feature: Trigger event when updating widget is done [szabozo0 refs #5138]
4.7 - (2012-07-13)
Bug fix: fixed description error for Sparql related items [ichimdav #4705]
Bug fix: Fixed i18n missing tags and i18n:domain in .pt files [prospchr refs #5162]
4.6 - (2012-06-12)
Upgrade step: Within “Plone > Site setup > Add-ons” click on upgrade button available for eea.relations
Upgrade step: (optional) For each “Plone > portal_relations > <Content-Type>” enable ‘faceted search’ within Actions menu [voineali refs #5218]
Bug fix: Fixed generic relations (all to all relations) [voineali fixes #4908]
Bug fix: fixed markup of HISTORY.txt file [ciobabog refs #5231]
Feature: Use the faceted ‘search mode’ by default for relations content-types in order to speed up the relations popup [voineali refs #5218]
4.5 - (2012-03-30)
i18n: Added i18n locales folder, pot files and po files for en and ro [voineali]
Change: Update popup look&feel [voineali #4968]
Change: remove left and right column for portal_relations admin page [demarant]
Feature: possibility to overwrite default thumb scale when show relations [demarant]
Bug fix: Fixed view macro under eeareferencebrowser.pt [ghicaale #4998]
Change: removed content creation status message in reference popup [tiberich #4982]
4.4 - (2012-03-05)
Bug fix: Renamed css file to css.dtml. Use portal_url to anchor images [tiberich #4956]
Change: make the @eea.relations.macros generic [tiberich #4982]
4.3 - (2012-02-15)
Bug fix: don’t check for thumbs on content types, we always have them [tiberich #4671]
4.2 - (2012-01-03)
Bug fix: Fixed permission for related items [voineali #4841]
Bug fix: Fixed icons for items in portal_relations tool [voineali #4834]
4.1 - (2011-11-18)
Rerelease broken egg
4.0 - (2011-11-18)
Feature: added a way to easily override Plone default ATContentTypes widget for relatedItems field. Just add ‘eea.relations.default’ within your zc.buildout include ZCMLs [voineali #4232]
Cleanup: fixed all pylint, pyflakes violations [voineali #4232]
Feature: added upgrade steps [voineali #4392]
Feature: Plone 4.x compatible release [voineali #4232]
0.10 - (2011-03-29)
Bug fix: fixed failure if object has no workflow [voineali #4217]
0.9 - (2011-02-18)
Changed: replaced thickbox with fancybox [ichimdav #3773]
0.8 - (2010-12-13)
Bug fix: fixed jslint warnings [voineali #3821]
0.7 - (2010-11-22)
Bug fix: fixed missing end tag found by hudson zptlint [voineali #3821]
0.6 - (2010-11-12)
Bug fix: fix failing tests [voineali #3821]
Change: added cache metadata to images [ghicaale #3667]
0.5 - (2010-11-05)
Bug fix: when exporting GS profile, constrain to string the type titles [tiberich]
0.4 (2010-09-06)
Feature: color links in reference widget according to their state. [tiberich #3561]
Feature: added default location field to content type entries [tiberich #3544]
0.3 (2010-08-16)
Change: set permissions for reference popups to View instead of ModifyContent [tiberich #3525]
0.2 (2010-06-16)
Change: changed AutoRelations API to return a list of tabs (labeled brains) [#3298 voineali]
0.1 (2010-06-07)
Initial release [voineali]
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.