Any plans to integrate this work with the Relation module? Or would that be too different, and warrant a separate module?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | references_dialog_relation-1345472-6.patch | 1.11 KB | Drupa1ish |
Any plans to integrate this work with the Relation module? Or would that be too different, and warrant a separate module?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | references_dialog_relation-1345472-6.patch | 1.11 KB | Drupa1ish |
Comments
Comment #1
fabsor commentedI haven't personally thought about it, but I am making some rather big changes for this module that will make it possible to use it as a FAPI type. That would make it very easy to integrate into any form in any context you want, and that would probably also make relation integration a lot easier.
Comment #2
sachbearbeiter commented+1
Comment #3
davidburnsHas any progress on turning this into FAPI been put into the dev branch? I too would like to use this for Relation.
Comment #4
rogical commentedRelation is possible, but for FAPI, actually there're already a lot of modules, eg: ctools has an example for model forms.
Comment #5
demonde commented+1
Comment #6
Drupa1ish commentedI should implement hook_references_dialog_widgets_alter https://www.drupal.org/node/1416922 in a different module, but for this unpolished version, I preferred the patch.
Anyway, all the callbacks from the new widget relation_add are copied from entityreference_autocomplete widget. They work flawless!
Also, the View display type “Reference dialog search “ has already implemented Attached to: Relation to any (Contenty Type)