This module is an augmentation for entityreference module. It provides an extra widget entityreference referer for the entityreference field.
When this widget used, an extra form field will be added on the referenced content-types add/edit pages.
An extra local task is provide to add a new item on content-types add/edit pages.

For example.
A content-type photogallery has entityreference field with the entityreference referer widget that points to the content-types news and page.
When adding/editing a page or a news item an extra formfield is added, where all photogallery items can be selected. When selected the reference is saved on the photogallery item.
An extra local task is provided on the news and page item to add a new fotogallery which will be prepopulated with the entityreference prepopulate module.

For now this module only works for nodes.
The entityreference field needs to have unlimited value.
The entityreference prepopulate must be configured.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tom Robert’s picture

Tom Robert’s picture

Issue summary: View changes

update

NancyDru’s picture

Status: Needs work » Needs review

Not sure why this is marked "Needs work."

mkalbere’s picture

Very interested ... is it stable ?
Will it be included into Entityreference ? (I vote for it ;-) !)

NancyDru’s picture

It seems to be stable for me. If you've tried it and find it to be working correctly, you can mark it as "Reviewed and tested by the community".

Jax’s picture

We're using it in a relatively big site which will launch soon so any bugs will be squashed in a timely fashion.

kaizerking’s picture

Category: feature » bug

Notice: Undefined variable: extra in entityreference_referer_field_extra_fields() (line 94 of H:\wamp\www\drupal\sites\all\modules\entityreference_referer\entityreference_referer.module).

kaizerking’s picture

Category: bug » feature

not intended to change category

Tom Robert’s picture

The supplied patch fixed the notice warning. I forgot to initialize the $extra array.

The reason i marked it as needs work is because it will only work for nodes and not all types of entities.
It doesn't check how many times and entity is referenced so unlimited values is required and the prepopulate module has to be configured correctly. These are extensions that can be made to this module.

Status: Needs review » Needs work

The last submitted patch, entityreference_referer-1939620-6.patch, failed testing.

Anonymous’s picture

Issue summary: View changes

change foto to photo