Drupal join on taxonomy terms
Posted
by ciscoheat
on Stack Overflow
See other posts from Stack Overflow
or by ciscoheat
Published on 2010-02-05T20:01:11Z
Indexed on
2010/04/09
5:33 UTC
Read the original article
Hit count: 377
I have a Drupal setup like this:
- Content type: Apartments
- Vocabulary: Areas, that can be used with Apartments.
- Content type: User profile, with a Content Taxonomy Field for Areas so users can select what areas they are interested in.
I would like a view that shows all the user profiles that matches the apartments in their area. A "User profile <-> Areas <-> Apartments" join in other words. I've been mucking around with the views interface for a while but it's not clear to me how the relations can be setup to achieve this. Can someone give me a hint?
In case this cannot be easily solved with views, what is a good way of doing it otherwise? Thanks for your help.
© Stack Overflow or respective owner