Help with displaying views with EVA I am struggling with displaying a view in a node. I have installed EVA module and have created a view of products categorized for that node (Restaurant Type).

The entity displays in the node but I'm having trouble contextualizing the view. How do I dynamically provide the context when the page containing the entity is viewed.

I am normally a PHP programmer and a newbie recently thrown into the Drupal framework. I have been able to print out the criteria (in php template) and display the entity but I am failing in making them play together. 

I presume that the "Criteria" I am able to pry out of the template is the long way round solution to my issue, how do I configure my "entity view attachment" to display a contextualized list. my file structure always contains the variable and resolves as "*.com/restaurants/steak_houses" where "restaurants" is the node and "steak_houses" is the context criteria.

I need help in feeding that data to the entity.
== Updated. Rewrite the answer, provide step by step screenshot ==

P.S. you also need References, I apologize that didn't mention it. 


Create a Content Type called Restaurant, everything by default, save. 

Create a Content Type called Product


Add Node Reference field for Product Content Type. 





Create an instance of Restaurant content.
 

Create an instance of Product content, set the node reference field to the resturant just created. 



Next, create a new EVA view. 



Add filter => Content type => Product


Set Entity to node, Bundle to Restaurant
 


Add Contextual filter, select the node reference field created.


Provide default value => Content ID from URL


So you overall EVA view set up should be something like this:


Next, an important step: clear the cache, then refresh the restaurant node page to see the change:



You can see the Product One has been attached to the Restaurant.

You will get it. :)