Views, Taxonomy, multiple parameters using contextual filters


To do like this too much contextual filters needed, i think it's better to manage the URL in template.php and/or with hook_menu and use views_embed_view() to pass arguments to Views

$arg =array (1,2,3);
print views_embed_view('view_name', 'page_1', implode('+',$arg)); // OR
print views_embed_view('view_name', 'page_1', implode(',',$arg)); //AND

Similar questions

How do you go without hierarchical taxonomy filters, when the site heavily relies on content browsing(multiple filters and sorting)?
I'm building classifieds site with drupal and got stuck on one major issue: I have 1 taxonomy vocabulary with parents, children, grandchildren and great-grandchildren, and can't find a way to build browser which would not restrict user's choices. Over few days I found many drupal users stuck in the same place waiting for hierarchical taxonomy filte...
Contextual filters with multiple taxonomy vocabularies
I have vocabulary "City": and vocabulary "Places" i.e.: The menu link is, e.g. When a user click on a tag, e.g. cafes, I want the term city term to stay them same in the url, but to add the places term on the end, e.g.: in London, so that it only shows cafes. I.e. not, wh...
Pros and cons of exposed filters versus contextual filters
I need to do some complicated filtering on my View and it seems that contextual filters lack the operators (e.g. between, greater than) available within the exposed filter configuration. However, I don't want to user to be able to see or amend any filter widgets. I can achieve this by setting the exposed filters to appear as a block and NOT assigni...
views_query_alter change to operator OR for contextual filters and normal filters
My question is rather simple and I have searched quite a bit for the answer with no result. My view produces below SQL (simplified): All I want to do is to change that AND between the contextual filter and normal filter. I have tried to change all ANDs (including set_group_operator()) to OR and it does not change my AND. Also need to mention it is ...
Is it possible to combine contextual filters with regular filters?
I would like to take my standard taxonomy term view and add a "meta" category that would show up in addition to the term selected. The result should be that items in the meta category show up as well as those in the term being viwewed. I tried adding the meta category as a regular filter or an additional contextual filter, but there's no way to add...
Multiple contextual filters using or statements
I have a taxonomy which defines the sections of a site. One of the terms is "Global". What I am doing is creating pages with the site section term and also creating promo boxes which use the same taxonomy. By default the "Global" term is selected wherever the term relation is used. I would like to have a block view using contextual filters. I have ...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.