How to set programmatically multiple arguments for views contextual filters?
I can do it with one argument, it works great, but not with multiple arguments.
I want to select all nodes created by a list of people, but views only takes first in array into consideration:
$array = array(3250,32); $view = views_get_view('myview'); $view->set_display("myblock"); $view->set_arguments($array); $view->pre_execute(); $view->execute(); $content = $view->render();
Am I doing something wrong?