I have trouble conceptualizing what can be done with Views' arguments...this is what I want to do:

I have a CCK event-node-reference field on other node types (blogs, images, etc). What I want to do is have a block visible when you are displaying the event node that shows just nodes that reference that specific event.

Is this possible with views?

I started to create a block with Views but got stuck. I can choose the "Node Reference: Event Reference (field_event)" in the arguments section but I'm not sure if this is all it would take (it's not working) or what I need to enter for the other argument settings.

Comments

merlinofchaos’s picture

Status: Active » Fixed

This is conceptually very similar to a lot of views that show things related to the node being displayed. Look in the Views snippets section of the handbook; I think there are several in there. The important part will be the snippet of code that goes in the Argument PHP section. You'll use an argument for your nodereference instead of a normal nid argument, but otherwise things should be very similar.

mdowsett’s picture

You mean here:
http://drupal.org/handbook/customization/php-snippets

I couldn't find anything....

merlinofchaos’s picture

If 'PHP' is Views that's a lot more responsibility than I want.

http://letmegooglethatforyou.com/?q=views+snippets

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.