0

I have created a "Node Reference Field" in a content type named "TV Shows" . ( And it is referring to another Content Type "Episodes")

I created a view which takes the NID of "TV shows" from Contextual filters . How to display all the fields of related "Episodes" to that "TV show ."

cheers :)

1
  • Have you tried to add relation? Right top corner? Sorry for not answering, but I don't have a project with node reference at hand, I'm using entityreference these days.
    – Mołot
    Commented Sep 19, 2013 at 13:45

1 Answer 1

1

If I understand correctly, you have a single node (type TV Show) with several related nodes of type Episodes, each Episode node describing an episode of the particular TV show.

If this is correct, this is a common error. Your node reference field should be on the Episode type, and should refer to the TV Show type.

Then a simple view of Episodes with a contextual filter on Node ID will give you what you want. Just make sure the reference goes in the correct direction.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.