I tried solving the following with "node_reference" and "entityreference" modules but failed.
I have the content types recipe and cook. A recipe has a mandatory field which points to a cook.
When Drupal renders a recipe I want to have a block on the sidebar (implemented via "views") which will be displaying info on the recipe's cook.
How can the block know which recipe is being rendered on screen in order to use the relationship and pull the cook's data as fields which I'll use for display within the block?
More info: The problem is that in the block I'm getting all referenced (from recipes) cooks and not just the one cook for the specific recipe. So for the following data:
recipe#1 -> cook#1 recipe#2 -> cook#1 recipe#3 -> cook#1 recipe#4 -> cook#2
When I visit any of the recipes the block displays data from:
cook#1 cook#1 cook#1 cook#2