Supplying a predefined list of options for an exposed item in a view in Drupal?
问题 I've got a view that filters by year. The year is a normal text CCK field on the content type. I've exposed this field in the view, so that the user can type in a value for it. E.g. 2010. It will then show all the content types with the field set to 2010. My problem is, I don't want the user to type in the value. I want to change that text field to a dropdown with several years. My options are: Hack it with JQuery --> VERY BAD Edit the exposed value using some hook or something BEFORE it's