By dmcfaul on
Hi, I'm trying to set the arguments I need for a particular view that I am printing on a page, but it is not working. This is how I call the view:
$view = views_get_view($name);
$format_output = TRUE;
// Put all arguments and then execute.
$args = array('field_family_value=', 'field_manufacturer_nid[]=210');
$view->set_arguments($args);
And then I use $view->preview() to get the results.
The arguments are not working properly however...is it the syntax? Or am I setting them wrong?
Thanks...
Comments
*bump* anyone familiar with
*bump*
anyone familiar with this?
I am guessing you want $args
I am guessing you want
works, thanks...
works, thanks...