Drupal: How to create a view with multiple terms?
I wanted to create a page that shows all the nodes tagged with any of the terms – Red, Green and Blue. After struggling a lot, I found something, so simple, that works for me.
1. Go to Administer > Views. You should be on the page http://localhost/drupal/?q=admin/build/views now.
2. Click the link tracker. You should now be on the page http://localhost/drupal/?q=tracker
3. Click the ‘Clone’ button to clone the Tracker view.
4. Give it a new name. For example – Red-Green.
5. Enter details to create Page or Block whatever you want to create. I chose Page.
6. Enter URL and other details.
7. For ‘View Type’, I selected ‘Teaser List’.
6. Go to Filters tab. Using Filters to achieve this is the most important part.
8. Under ‘Add Filter’, add ‘Taxonomy: Term’. Click the button ‘Add Filter’.
9. If you want to show all the selected terms, choose the option – Is One Of.
10. Select all the terms you want to be added. View will show all the nodes that were tagged with any of these terms.
11. Click Save. You should now be able to see a view with nodes tagged with terms you selected above.
Enjoy!
