Skip to main content

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

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.

Introduction

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:

  1. Define/restrict what kind of content types a certain content can relate to

  2. Set restrictions on possible relations (e.g. relations can be made only with published content)

  3. You can define easy to use faceted searches (using EEA Faceted navigation) on the relate items popup

  4. Nice visual diagram showning all the relations and restrictions you defined (Control pane -> 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:

    [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 graphviz
  • pydot

  • eea.facetednavigation

API Doc

http://apidoc.eea.europa.eu/eea.relations-module.html

Source code

Latest source code (Plone 4 compatible): - Plone Collective on Github - EEA on Github

Funding

EEA - European Environment Agency (EU)

Changelog

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


Download files

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

Source Distribution

eea.relations-5.0.zip (118.0 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