Any plans to integrate this work with the Relation module? Or would that be too different, and warrant a separate module?

Comments

fabsor’s picture

I 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.

sachbearbeiter’s picture

+1

davidburns’s picture

Has any progress on turning this into FAPI been put into the dev branch? I too would like to use this for Relation.

rogical’s picture

Relation is possible, but for FAPI, actually there're already a lot of modules, eg: ctools has an example for model forms.

demonde’s picture

Issue summary: View changes

+1

Drupa1ish’s picture

Status: Active » Needs work
StatusFileSize
new1.11 KB

I 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)