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.
Comment | File | Size | Author |
---|---|---|---|
#8 | entityreference_referer-1939620-6.patch | 606 bytes | Tom Robert |
#1 | entityreference_referer.tar.gz | 2.42 KB | Tom Robert |
entityreference_referer.tar_.gz | 2.42 KB | Tom Robert |
Comments
Comment #1
Tom Robert CreditAttribution: Tom Robert commentedComment #1.0
Tom Robert CreditAttribution: Tom Robert commentedupdate
Comment #2
NancyDruNot sure why this is marked "Needs work."
Comment #3
mkalbere CreditAttribution: mkalbere commentedVery interested ... is it stable ?
Will it be included into Entityreference ? (I vote for it ;-) !)
Comment #4
NancyDruIt 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".
Comment #5
Jax CreditAttribution: Jax commentedWe're using it in a relatively big site which will launch soon so any bugs will be squashed in a timely fashion.
Comment #6
kaizerking CreditAttribution: kaizerking commentedNotice: Undefined variable: extra in entityreference_referer_field_extra_fields() (line 94 of H:\wamp\www\drupal\sites\all\modules\entityreference_referer\entityreference_referer.module).
Comment #7
kaizerking CreditAttribution: kaizerking commentednot intended to change category
Comment #8
Tom Robert CreditAttribution: Tom Robert commentedThe 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.
Comment #9.0
(not verified) CreditAttribution: commentedchange foto to photo