How to show fields of referenced entity when referencing entity is being loaded? I have 2 content types, the first one has an Entity reference fields that references nodes of the second type.

I want to build a view (block) that shows some fields of the second (referenced) node when the visitor loads the node id of the first (referencing) entity.

For some reason I think this may be done really straight forward, but I'm not getting it to work.

A similar question was self-responded for the user who made it, but I dont seem to understand the screenshot he posted. How to use Entity Reference and Views

Another question seems to be answered but It looks to me like it lacks some information, as following that 3 points I cant get my block-view to work. Puilling Information From Referenced Entities to Display/Use In A Custom Content Type?

Any ideas?
Depending on where you want to create the block/ show the information the way to retrieve the data from the referencing node may vary. Here's a simple example for rendering from within a node.tpl.php:

$referenced_node=node_load($node-&gt;reference_field['und'][0]['target_id']); 
print drupal_render(field_view_field('node', $referenced_node, 'field_something', 'displayname'));


This solution makes use of standard Drupal rendering methods/ display suite rendering for your referenced node. Change displayname to the proper display you want to use for rendering, you might want to add a custom one with different settings.