Give the gift of Drupal. All merchandise is 50% off through 2016.
I have a related_news view that uses a taxonomy name argument. I am embedding this view in a template. Apart from the fact that the view title doesn't render (the subject of another post: http://drupal.org/node/141820) , it works fine if I am only passing in one taxonomy name.
But I want to be able to get related news for multiple taxonomy terms. Do I need to create separate arguments to pass in multiple terms? Or can I pass multiple terms to the same argument? If the latter, how do I do this?
Right now, my code looks like this:
$myview_args = array(0 => $my_topic ); print views_build_view('block', $myview, $myview_args, false, 4);
$my_topic above is a taxonomy term name. I would like to pass in two or more names and get all the related nodes back.
Would really appreciate the help. Thanks.