简体   繁体   中英

Drupal 7 get a list of taxonomy terms in views

在视图(Drupal 7)中,如何从我的分类列表中生成一个名为tag的术语列表?

It's not clear from your question if you just want Views to display all the terms in the Tags vocabulary or if you are asking about generating a list of tags used to categorize content (for the latter, it would be a "Show content of type x" (ie "Node view").

If all you want is to show all the tags in your Tags vocabulary, you create a View to "Show Taxonomy terms of type Tag". You'll find options to create page or block displays. There are several "Display format" options:

  • Grid
  • HTML List
  • Jump Menu
  • Table
  • Unformatted list

If you click on "Continue and edit", you'll find that, by default, the terms in the list are links. Clicking them takes you to a display of "teasers" for any content tagged with the term. You can adjust the sort order, add filtering, etc, and continue to tweak your displays.

Here is a screenshot of the initial step for creating a View of Taxonomy terms: 在此输入图像描述

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