I'm trying to create a Block View to display a second node's Body based dynamically on the node currently being displayed.

Example: node/1 is currently being displayed, and the block in the sidebar loads the body (Contact information for example) of a secondary node, say node/12. But if node/2 is being displayed, the block will instead load the Body of an entirely different node.

Can I create an integer field in the Content Type that identifies the secondary, "Contact Block", node to display, and how would I create the View to use this field? Or do I need to create a relationship, and if so, which Content Type needs the relationship, the primary node, or the secondary node?


1 Answer 1


EntityReference was what I was looking for and I found a good walkthrough here: http://www.wunderkraut.com/blog/overview-of-entity-reference/2011-10-11

  • did you need to use a php filter?
    – SDMulroy
    Commented Jul 2, 2014 at 19:33
  • Shouldnt need php filer, should be able to filter on content type nid in contextual filters. Commented Jul 2, 2014 at 19:57

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.