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.

Files: 
CommentFileSizeAuthor
#8 entityreference_referer-1939620-6.patch606 bytesTom Robert
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch entityreference_referer-1939620-6.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]
#1 entityreference_referer.tar.gz2.42 KBTom Robert
entityreference_referer.tar_.gz2.42 KBTom Robert

Comments

StatusFileSize
new2.42 KB

Issue summary:View changes

update

Status:Needs work» Needs review

Not sure why this is marked "Needs work."

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

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

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

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

Category:bug» feature

not intended to change category

StatusFileSize
new606 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch entityreference_referer-1939620-6.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

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.

Issue summary:View changes

change foto to photo