I have a problem and here's my graphical illustration of it: enter image description here

I have tried many things that didn't work. I think the answer has something to do with adding a relationship with a node field, but I don't know how to get it to work here.

1 Answer 1

  1. You need to have an entity reference field on the node type that allows you to reference a user as the creator of the necklace.
  2. Then you want a node view that has a contextual filter of nid, that uses node id from the url as a default value when no contextual filter value is provided.
  3. Then you can add a relationship to the user via the entity reference field you added.
  4. Then add a relationship for the profile2 profile, so you can use the profile fields in your view.
  5. Add a block view display.
  6. Add the block to your node pages.
  • Thank you! I've found a detailed guide here too, which explains I also need to add a contextual filter for Content:NID drupal.org/node/1841004
    – ashash
    Mar 24, 2014 at 19:00
  • Yep, that's step 2 of my post.
    – rooby
    Mar 24, 2014 at 22:54
  • Haha yes I just realised that I missed it. I guess the illustration in the link was easier to for me understand because I never used contextual filters before.
    – ashash
    Mar 25, 2014 at 7:27

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.