Drupal 6: Related "Locations" using Views

63 views Asked by At

I have a custom field (field_locations ) which lists 20 different locations. I would like to use that field as an argument to obtain a block view that lists similar/related locations.

Any idea on how to construct the argument?

1

There are 1 answers

0
Chris Miller On

Create a contextual filter for field_locations on your view. Set the filter to provide a default value, using PHP code. In the filter's PHP code, grab and return the value of your field or taxonomy term.