how to use a view to node field based on url I have a content type A which has a node reference to another node (type B). I want to create a block (using views) to display the content of that node reference in a side block on its respective node page (type B).

I think this might be possible with either contextual filters or relationships, but as I have never used either, I'm not sure exactly how to do this. If I could use these, I imagine that I could use the url as a filter.
I am assuming, you have a node of type A, that refers to a node of type B through a node referance field "field_noderef" attached to node A. You want to display the details of node A when you visit node B.


Create a block type view. Filter as content type = A
Create a contextual filter "field_noderef", set a default value of "get NID from URL".
Display the block in node page of content type B *this part is important.