Closed (fixed)
Project:
Entity Reference View Widget
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2014 at 12:40 UTC
Updated:
4 Jun 2014 at 17:02 UTC
Jump to comment: Most recent
Comments
Comment #1
bennos commentedComment #2
malovanets commentedYou can already customise the view from which you pick your entities (display avatars as fields for example), but the current version of the module does not provide the feature you are looking for just "from the box". The best you can do at the moment, is to alter the 2 themes defined by the module. Their names are: entityreference_view_widget_widget and entityreference_view_widget_rows.
The second one is responsible for a single row (field value), the first is a wrapper around the values (including field title, "add" button etc).
Comment #3
jsacksick commentedComment #4
titouilleHi,
Can anyone confirm that he success to override entityreference_view_widget_rows ??
I added a "bartik_entityreference_view_widget_rows" function in the bartik theme but nothing appends, even with multiple time cache clear. I tried to use hook_theme_registry_alter to change the called function, ie :
But no way, I'm unable to override the standard function. If anyone can point me a solution it would be nice. Thanks in advance for any suggestion.