Drupal 6: Associated "Locations" Using Views

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

Any idea on how to build an argument?

+4
source share
1 answer

Create a context filter for field_locations in your view. Set the filter to its default value using PHP code. In the filter's PHP code, grab and return the value of a field or taxonomy.

0
source

Source: https://habr.com/ru/post/1441026/


All Articles