Recently I wrote the tutorial
http://www.bjrtechnologies.com/node/5
I am applying this to an exposed filter that filters a diamond database.
I have exposed the filter in a block and inserted it into a page
the exposed filter works fine with it is not themed and has multiple select lists to choose from
however if I theme the filter (by way of module) and change the lists to check boxes, it will return a bland page with no results.
however both the unthemed and themed exposed block filter return the same url
ld?field_carat_value%5Bmin%5D=2.5&field_carat_value%5Bmax%5D=3
ld?field_carat_value%5Bmin%5D=2.5&field_carat_value%5Bmax%5D=3
when the filer is themed, the view ceases to work, but if i then create another page display, then it will work until i change the filter theme again.
I have tried clearing all cache.
Why would a working default view cease to work if the url it receives from the form is the same?
here is an example of the code i am using
if($form['#id'] == 'views-exposed-form-Certified-d-page-3') {
//echo "<textarea rows='25' cols='500'><pre>";
//print_r($form);
//echo "</pre>";
//
$form['field_carat_value']['min']['#size'] = '10';
$form['field_clarity_value_many_to_one']['#type'] = 'checkboxes';
//$form['field_color_value_many_to_one']['#type'] = 'checkboxes';
$form['submit']['#value'] = 'Search'; }
Comments
Comment #1
dawehnerI suggest to use set error_reporting(E_ALL | E_STRICT); so you can read the error message on the wsod.
If you can define your theming code as the source of the problem, you really have to show the code, otherwise helping is like walking through fog.
Comment #2
merlinofchaos commented'checkboxes' in exposed filters are not officially supported by Views.
Comment #3
netentropy commentedyeah i figured checkboxes were supported however as far as accessing and fitler a database using GET urls it works the same
the view really just reads whatever the url produces so if they are exactly the same I see no reason for it not to work
it works when i cut and paste a URL but not when the checkboxes produce it
right?
Here is the code i am using