Passing filters to to a view from a block

gavinhughes'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

Groups:
Login or register to post comments

You could call a custom

alanburke's picture
alanburke - Wed, 2012-01-18 22:20

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