Drupal : Custom views filter
Posted
by Joseph
on Stack Overflow
See other posts from Stack Overflow
or by Joseph
Published on 2010-06-02T18:02:04Z
Indexed on
2010/06/02
18:04 UTC
Read the original article
Hit count: 253
Hi,
First thing I would say is that I am a Drupal newbie. So, I would appreciate your answer in a detailed step by step process.
I am using Drupal 6 and location module. There are two main content types - user profile (using content profile module) and event content type. Both have one field for location.
Now, lets suppose in his profile, user is selecting city as Toronto and province as Ontario. And some events have been added for Toronto city. I need one Views, which will display events from user city. So, if user is from Vancouver, and they click on "my city events", they will see list of events from their city. Someone told me that I can achieve this using arguments/ relationships, but I don't know how to do that.
Can someone please help me out? I am not good at PHP either :(
© Stack Overflow or respective owner