开发者

Views and Tags (taxonomy) and Tabs in Drupal

开发者 https://www.devze.com 2023-02-06 12:27 出处:网络
It is a Drupal 6 installation and I have a content type that has a few taxonomy vocabularies and all terms are in Tags format.

It is a Drupal 6 installation and I have a content type that has a few taxonomy vocabularies and all terms are in Tags format.

I would like to create Views to show nodes based on terms, and I would开发者_运维技巧 like to have those Views displayed in tabs.

For example, four nodes:

node 1: termA, termB node 2: termA, termC node 3: termB termC node 4: termB, termD

I would like to have a tabs display that have four tabs, named TermA, TermB, TermC, TermD respectively.

When clicking each tab, it will show all nodes that are associated with this term.

eg:

For tab TermA, will display node1, node 2, For tab TermD, will display node 4 only.

Any suggestion on how to do that?

Thanks


Have you looked at Taxonomy Menu. It might be an easier solution than doing this using views.

0

精彩评论

暂无评论...
验证码 换一张
取 消