简体   繁体   中英

So Many Tutorial Guides, But How Can I Filter A Drupal 7 View To Show Nodes With A Taxonomy Term?

Although many post exits for this topic, no one seem to guide the user on how to go about this feature. I need to filter a view block such that it displays nodes with specific taxonomy terms. I have a taxonomy vocab called Sections containing terms like Analysis, Sports etc and my Article content type has a filed tagging them with the terms. In other words, Article nodes are tagged with term(s) from the Sections vocab. I just need a way to display a block, with say nodes tagged with Sports

If you have followed any D6 tutorials, the major change is that taxonomy terms are now tagged as a field.

So create the View on Node table, and add fields as you want. Then, add a filter to the field's name that you used to tag terms in the Sections vocabulary.

You will be given a multi-select list to choose which terms should be filtered.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM