【发布时间】:2016-10-24 10:27:22
【问题描述】:
我知道这些步骤,但因为我不明白以下说明中使用的术语的含义而被卡住了。
Views Tree with Taxonomy Terms
Creating Taxonomy Terms
Create some Taxonomy terms with parent/child (hierarchical) relationships.
Creating the View
First, create a new term view using the fields row style / unformatted list of fields (it is important that the tree style not be chosen now). Then:
Add relationship for taxonomy term: parent term
Add field term id (do not use relationship) and exclude it from display
Add field term id with relationship, exclude from display
Add any fields you want to display, like term name, term description, etc...
Change style / format plugin to Tree (Adjacency model)
Set Main field to Term ID
Set Parent field to Term ID with parent relationship
我想按照上述步骤操作,我已经创建了分类术语 父子关系,然后我在这里创建视图 混淆,因为他们提到了 **fields 行样式/无格式列表 字段(重要的是现在不要选择树样式)。 那么:
**
Add relationship for taxonomy term: parent term
Add field term id (do not use relationship) and exclude it from display
Add field term id with relationship, exclude from display
Add any fields you want to display, like term name, term description, etc...
Change style / format plugin to Tree (Adjacency model)
Set Main field to Term ID
Set Parent field to Term ID with parent relationship
当我点击提前时,我不知道分类术语在哪里 没有分类术语:父术语请帮我解决这个问题
【问题讨论】: