1

Each user has a personal calendar (tab in profile from Views) where they can add "Event" content-type. I have a Entity reference field where the user can add 5 different "friends" to this "Event".

With Entity Reference view Widget I have a view (Picture and user name) from which the user can add up to 5 people. And it works, but...

How can I have more than just the Label? I would like to have the user picture and his name.

I've tried for 2 days... Please help. Maybe Entity Referennce is not the solution.

Thanks.

1

Might want to check the display settings (IE: Manage Display) of both the referencing and referenced entity. Haven't used it in a while, but definitely worth a look.

1

Well... it seems that it is impossible to show more than one field because "we're restricted to displaying the node title, node ID, full node or teaser" (quote from http://www.prkos.hr/?q=articles/drupal_7_entity_reference_tutorial).

Is there a possibility to tell Views to make some sort of substitution : replace Title by other fields?

I tried "Entity Reference View Field Formatter" (in dev). But I cannot see how to filter the view to show only the user's selection (it gives the whole view used for the Entity Reference views widget).

Would EVA be the way? Or another module?

This is driving me crazy...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.