I'm getting a little confused trying to get this one, thought I'd get some help.
I have two content types (A
and B
) both with the same list field (My List
). I want to include a view in content type A
that finds all nodes of content type B
with the same My List
value.
I've looked through Context, Entity Reference (which I didn't really get) and Views Relationships and Contexts but couldn't make much sense of it.
What's the best way to accomplish this?
Edit:
I've added an image of my desired output (from actual site) and the current fields of content type's A
and B
.
An important note is that the Views block/whatever showing content type B
needs to be shown in the normal node page of content type A
.
I know this isn't the best way to do this, but this feature wasn't planned and the client just wants it to work as fast as possible
Content Types Fields:
I've excluded irrelevant fields such as path and meta tags.
Content type A:
Title - text
Body - HTML (w/ text inside)
Department - List
Content type B:
Title (name) - text
Description - text
Department - List