Of course I will :-) .
Providing lists instead of text inputs for exposed filters : I thought this is a very common task, I'm surprised there isn't a quick/simple answer.
But maybe I'm not on the right way. Maybe I shouldn't use Views at all ?
On 30/05/2012 16:29, Joel Willers wrote :
This is a bit over my head, but if you figure out the answer, I'd be happy to read about it. If you solve this, could you respond with your solution?
Joel
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of kt992321@gmail.com Sent: Monday, May 28, 2012 7:26 AM To: support@drupal.org Subject: [support] Views Taxonomy and dropdownlist
Hello,
I'm a Drupal newbie.
I'm using latest stable version of Drupal 7 and Views 3.
I have a content type which represents sewing machines :
- brand
- model
- year
- power (watt)
I have a view to show all the sewing machines.
Now I want to make a view with "year" as exposed filter. Actually I want the user to be able to select a range (between XXXX and YYYY), I want to show this filter as two dropdownlists.
I've read about "hook_form_alter" to change exposed filters aspect (change a text input to a select list) but I would like to know if it is possible to do the same thing using a mix with Taxonomy ?
I know that it is possible to create dropdownlist (select list) with taxonomy terms. But is it possible to use this list of terms to select fields from a content type within a view ?
Note that the dropdownlist could also be a slider input like this : http://www.html5tutorial.info/images/slider_gallery.png
Regards, K.
-- [ Drupal support list | http://lists.drupal.org/ ]