Proper way to mess with exposed filters
I am writing a module that lets users save 'searches' made using exposed filters.
The idea is that I use hook_form_alter to add my checkbox to the exposed filters form, as well as add my own submit handler to the form. In my submit handler I find out if the checkbox was selected, and if it was I save the exposed filter inputs to my database table along with information about the user.
Read morecreating a custom module to override the default exposed filter widget type?
Hello,
I'll start with the good ol' i'm new to drupal and creating custom modules spiel...
(btw, im using the most current versions of drupal and views)
What i need/have been trying to do is create a filter for a view that uses select dropdowns based on values that are collected from a cck text field.
(for example: a user adds a new node, there is a field called type and the user can enter whatever he wants. when the form is submitted, and he goes back to the list view, his entry in the type field now shows up in a select dropdown along with all of the other options that other users added. now he can filter the view with his own type entry.)
Views Filters with Exposed Select Lists
Views Filters with Exposed Select Lists
Problem: Long lists in exposed filters require control key + multi-selects which are subject to keyboard errors.
Solution: Convert select lists to scrolled check box items for specific filters (not globally)
Some Possible Approaches:
irc:drupal-support 6/30/2008
[18:30] http://drupal.org/project/views_checkboxes
[18:31] I've tried this using phptemplate_form_alter in my template.php
[18:31] http://drupal.org/node/138374#comment-545078
