Greetings community,
Here is a scenario to help describe my question:
I have a two CCK content types Crew & Movie.
Movie contains several CCK Node Reference field to Crew (such as Director, Producer, Editor, etc.)
Using the Views Argument Handler and this recipe for CCK Node Reference as argument, I created a list view with the Field Node:Title and the Arguments: Node Reference: Director (field_director) with the Argument Handling Code: $args[0] = arg(1);.
The result was what I was looking for, a block view that I have embedded in each Crew using Contemplate and a Views embed code that shows all the Movies that current Crew has Directed (field_director).
Here is my question:
I want to create multiple views arguments (example: Node Reference: Director (field_director), Node Reference: Producer (field_producer), Node Reference: Editor (field_editor), etc.
What do I have to add to the Argument Handling Code: $args[0] = arg(1); to make this work?
My no-programming-skills-thought was just to throw some IF statements in there, but I really just don't have any idea where to put those.
Any help with this would be GREATLY appreciated!
TIA,
txcrew