0

I have a view of nodes. These nodes are connected with users via entity reference. User has a profile (Profile2). I want to display profile fields for all referenced users in single field.

enter image description here

1 Answer 1

1

You might need to use something like Views Field View and pass your node number as an argument, then use the reverse relationship to list members.

4
  • Thanks, I thought that there is a way for avoiding additional module (besides custom coding) but it's probably the only way. Do you know how to display all rows inline (without overriding view templates)?
    – Codium
    Commented Mar 4, 2015 at 7:29
  • No I don't, sorry, I think that's exactly what templates are for.
    – Darvanen
    Commented Mar 4, 2015 at 7:50
  • Actually it works out of the box, I've just added entity reference field to a view and setted formatter: entityreference_username_profile
    – Codium
    Commented Mar 6, 2015 at 2:03
  • Sweet, that's good to know =)
    – Darvanen
    Commented Mar 6, 2015 at 2:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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