Quantcast
Channel: Question and Answer » views-contextual-filters
Viewing all articles
Browse latest Browse all 57

How to create a view using the References module? [closed]

$
0
0

I currently have Two content types:

Content Type 1: Videos

Content Type 2: Politicians

The main Videos content type references the Politicians content type as a way of “taggingPoliticians that can be seen in the videos. What I’d like to do on each Video node is create a view that shows all other video nodes that have the same Politicians referenced within them. For some reason I cant seem to get it to work. This is what I have so far.

  • Create a view block with title field from the Video id like to
    see

  • Create a relation to the Politicians field with a reverse

  • Create a filter based on Content NID

For some reason when i go to a Video node I don’t see any results at all. In fact I don’t even see the video of the node I’m currently on.

If I change the relation to Politicians field without the reverse I only see the same node that I’m currently on. I should be seeing all videos with the same politician. What am I doing wrong here?

Keep in mind I and not using and wont be switching to the Entity Reference module since this is a large legacy project (I’m using the References module).


Viewing all articles
Browse latest Browse all 57

Trending Articles