This module provides a field widget for creating & editing relations (http://drupal.org/project/relation)
The selection interface is based on views. Use exposed filters to search for entities, & select items from the view output displayed as a clickable drop down list.
You can use either the default views provided with the module, or define your own views per field. This allow you to use views that represent the entities & bundles allowed in the relation. The EFQ Views module (http://drupal.org/project/efq_views) allows you to expose entity type as an filter, so cross-entity type relations can be created.
If a view has entity type / bundle type exposed filters, this module tries to make the UI more intuitive by altering the available options based on the relation's allowed values. So if only "node" entities are allowed in the relation, the entity type filter will be set to "node" & hidden.
By default the field is displayed as a link to the related entity. This can be customised based on entity type, bundle & field name via the theme layer.
The module also provides an "Add relation" page, so relations to be created via the admin overlay. See README for more details.
TODO
Working with all views (only works with EFQ views at the moment)Now works with normal views, not just EFQ views- The form display UI needs improving
- Integrate with http://drupal.org/project/views_visualsearch
This module is under active development - if you have bugs / suggestions as to how it can be improved please post them to the issue queue.
UPDATE 2012-12-31:
2012 winter holidays and end-of-year projects have kept me (@steveoliver) from working on this module as much as I'd like. I hope I can put some love back into this project and Relation API in 2013. Until then, please contact me or find me on irc if you have any questions about how to help if you can't find what you need in the issue queue.
-Steve Oliver
Downloads
Project Information
- Maintenance status: Seeking co-maintainer(s)
- Development status: Under active development
- Reported installs: 380 sites currently report using this module. View usage statistics.
- Downloads: 72,223
- Last modified: December 31, 2012
