ATBackRef
Category: Fields and widgets
—
Other products by this author
Current release
No stable release available yet.
Experimental releases
Upcoming and alpha/beta/candidate releases
- Alpha releases should only be used for testing and development.
- Beta releases and Release Candidates are normally released for production testing, but should not be used on mission-critical sites.
- Always install on a separate test server first, and make sure you have proper backups before installing.
Project Description
- Project resources
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.