Passing filters to to a view from a block

Events happening in the community are now at Drupal community events on www.drupal.org.
gavin.hughes's picture

Hi All

I am Hoping someone can point me in the right direction,

I'm using the D7 Views 3 and custom module,

I have created a view that takes 2 (contextual) filters.
And I have created custom module that creates block form that traverses a taxonomy tree a creating a parent-child drop-down using select lists similar to the way hierarchical_select works, what I’m not sure is the best method off passing the values from the select list to the views-page, (this will involve redirecting the user to that views-page with the arguments)

Currently I'm using the drupal_goto that redirects the user to the views url with the filters and I know there must be a better way or method other than this but I'm not sure what that is?

All suggestion welcome :-)

Regards Gavin

Comments

You could call a custom

alanburke's picture

You could call a custom callback, which uses views_embed_view.
Maybe...

Ireland

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: