Hello,

I wonder if it is possible to add an exposed filter in views, based on the present values in a particular cck field. (this field consists of city names)

As this cck field can have an undefined number of values (its values are imported by "node import"), it is impossible to manually set the "allowed values". It is a textfield. Each time a new node is created/imported, a city name can be added. I would like to filter the view based on the different city names that have been entered so far.

How could this be done?
Many thanks

Comments

gotcha41’s picture

in other words, to have a dropdownlist (=filter) that shows the different current values (city names) that have been entered in one cck field

dawehner’s picture

Project: Views (for Drupal 7) » Content Construction Kit (CCK)
Version: 6.x-2.11 » 7.x-2.x-dev
Component: Views Data » Views Integration

This is more like a cck feature request.

yang_yi_cn’s picture

mark as a dup of #1305702: List (PHP)

yang_yi_cn’s picture

Status: Active » Closed (duplicate)