带有节点的分类视图
使用 Drupal 6,我尝试创建一个包含如下视图的页面:
-分类术语 1
-- 包含该术语的节点的标题和描述
-- 包含该术语的节点的标题和描述
-分类术语 2
-- 包含该术语的节点的标题和描述
-- 包含该术语的节点的标题和描述
-分类术语 3
-- 包含该术语的节点的标题和描述
-- 包含该术语的节点的标题和描述
所以基本上,当我进入此页面时,我会看到特定词汇表的分类术语作为标题列出,在下面我会看到具有该分类术语的所有节点的标题和描述。
这可能与视图有关吗?或者如果没有,是否有另一个模块可以帮助我?或者我应该自己应对这种情况?
Using Drupal 6, I'm trying to create a page with views that shows something like the following:
-Taxonomy Term 1
-- Title and description of a node that contains this term
-- Title and description of a node that contains this term
-Taxonomy Term 2
-- Title and description of a node that contains this term
-- Title and description of a node that contains this term
-Taxonomy Term 3
-- Title and description of a node that contains this term
-- Title and description of a node that contains this term
So basically when I go to this page, I see taxonomy terms of a particular vocabulary listed out as titles, and underneath I see the title and description of all nodes that have this taxonomy term.
Is this possible to do with views? Or if not, Is there another module that can help me? Or should I be rolling my own for this situation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这绝对是可能的,具体方法如下。
就是这样。这里的重点是“分组字段”部分;这将根据分配给它们的分类术语对所有节点进行分组。希望有帮助!
Yes, this is definitely possible, and here's how.
That's it. The key point here is the "Grouping Field" part; that's what will group all of the nodes by the taxonomy terms assigned to them. Hope that helps!