我有一个视图,从某种类型获取所有节点,并在页面上显示它们; 每个节点都按分类术语分类。 我创建了一个自定义.template文件来使用行样式来主题化视图,但我真正想要做的是将所有节点排序在一个类别下,例如:
第1类
节点1 节点7 节点15第2类
节点2 节点6我该怎么做呢?
I have a view that gets all the nodes from a certain type and shows them on a page; every node is categorized by a taxonomy term. I created a custom .template file to theme the view using the row style, but what I really would like to do is order all the nodes under a category, for example:
category 1
node 1 node 7 node 15category 2
node 2 node 6How do I do this?
最满意答案
请注意下面描述的步骤适用于D6: 使用drupal视图模块创建ur视图 选择适当的字段, 在过滤器字段下,选择分类,然后选择适当的分类术语 选择适当的字段(您要显示的字段)。 将输出样式更改为表或您喜欢的任何内容 你有它
希望能帮助到你。
Please note steps describe below are for D6: Create u r view using drupal views module Select the appropriate fields, under filter field, Select the taxonomy , and select appropriate taxonomy term Select the appropriate fields (which you will like to display). change the output style to table or whatever you prefer and there you have it
Hope it helps.
更多推荐
发布评论