By bkark on
I found an article about it at http://www.angrydonuts.com/displaying_views_exposed_filters but the code just doesn't seem to work for me in Drupal 5. The code I'm using is:
<?php
$view = views_get_view('trackerx');
$form = drupal_retrieve_form('views_filters', $view);
$form['#action'] = url($view->url);
drupal_process_form('views_filters', $form);
return drupal_render_form('views_filters', $form);
?>
I'm putting this snippet into the block footer of my view.
I did find the Views Filter Block module, http://drupal.org/project/views_filterblock, but it didn't do what I needed.
Thanks!
Comments
uninstall Views Filter Block
I wasn't having any success with this code until I turned off the views filterblock module and then it worked fine.
subscribing
subscribing
http://SocialNicheGuru.com
Delivering inSITE(TM), we empower you to deliver the right product and the right message to the right NICHE at the right time across all product, marketing, and sales channels.
This is getting frustrating!
Sorry. Between not scrolling off to the right to find the submit button, and missing the Views_SaveFilter module! It's been one of those days. Problem solved.