I am migrating from a Drupal 6 site with views attach to Drupal 7 with EVA.

I have two Node types, and Program Type which describes our programs and an Event Type that is an instantiation of an event in a certain program. Imagine program is Football and event is a report of each game.
I would like to view the program node and see a listing of each appropriate event ordered by date.

I have a Taxonomy that is shared between the programs and event types that enumerates the programs.
I created a view which selects the events and created the eva:
Entity type: Node
Bundles: Program
Arguments: none
Show title: Yes

This attaches all of the Events to all of the programs.
What argument setting do I need to use to have the correct events show up on the correct programs?
I have tried many combinations without success.

Comments

eswiderski’s picture

same here. seems that no matter what combination of arguments i use, all attachements appear under all nodes of that type.

joachim’s picture

> I have two Node types, and Program Type which describes our programs and an Event Type that is an instantiation of an event in a certain program. Imagine program is Football and event is a report of each game.

"Program Type" -- do you mean each node of this type is a 'program type' or a 'program'?

How does an event node indicate which program it belongs to? You need some sort of reference field and then to use that as an argument in your view.

Skispcs’s picture

Each node indicates which program it belongs to by use of the taxonomy.

I have a collection of different sports and the nodes are game results.
When I click on the taxonomy for Baseball I should see the results that pertain to Baseball.'
When I click on the taxonomy for football I should get the results that pertain to football.

As of right now when I click on any taxonomy I get all of the results.

rwilson0429’s picture

Instead of using 'Arguments: none', have you tried setting the Arguments to 'Use tokens from the entity the view is attached to' and using the [term:tid] as the token?

You will probably need to add a Contextual filter to your view so it can take the token and apply it to the view to filter the results. You may need to flush cache also.

mkadin’s picture

Status: Active » Closed (fixed)

#4 should do the trick. Please re-open this issue if you need further support. I'm closing it in the interest of queue maintenance.