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
Comment #1
eswiderski commentedsame here. seems that no matter what combination of arguments i use, all attachements appear under all nodes of that type.
Comment #2
joachim commented> 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.
Comment #3
Skispcs commentedEach 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.
Comment #4
rwilson0429 commentedInstead 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.
Comment #5
mkadin commented#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.