ATBackRef

by Phil Auerperg, Jens Klein — last modified Feb 16, 2011 02:05 AM

Field/widget for Archetypes. UI for "back-references" in a relationship.

Project Description

References in Archetypes go in a direction: if you have a ReferenceField on the content type Professor, the professor "points to" the course (and one usually names that relationship, like "professor_teaches_course". The courses show up on the Professor view screen, and the reference can be edited from the Professor form.

This product adds a new field and widget for the "back-reference" from Course to Professor. This allows you to add a BackReference field to the Course type, so that on the Course view, you'll see the professors for that course, and on  the course edit form, you can select which professors have a reference to this course.

If you generate your Archetype content product with ArchGenXML, you can have these BackReference fields created for you automatically with the commandline option --backreferences-support=yes

In this case, of course, you'll need to install this product.

Self-Certification

[ ] Internationalized

[ ] Unit tests

[X] End-user documentation

[X] Internal documentation (documentation, interfaces, etc.)

[X] Existed and maintained for at least 6 months

[X] Installs and uninstalls cleanly

[X] Code structure follows best practice

Current Release
ATBackRef 2.0

Released Jan 23, 2009 — tested with Plone 4, Plone 3

eggified, code cleanup, tested for plone 3
More about this release…

Download file Get ATBackRef for all platforms
Egg, Product Package
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Licenses Status
2.0 Jan 23, 2009 eggified, code cleanup, tested for plone 3 More about this release…
Plone 4
Plone 3
GPL final
0.1 Initial public release. (While marked as a 0.1, many people are using this successfully). More about this release…
Plone 2.5
Plone 2.1
Plone 2.0
GPL beta