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

sun’s picture

Status: Active » Closed (won't fix)

Sorry, unfortunately this support request is way too specific. Please have a look at the issue queue - Views maintainers are buried already. You might want to try to get further support at http://drupal.org/support.
If you were able to solve this issue on your own in the meantime, you might want to add the involved steps to this closed issue, so other users searching for a similar solution might find it.