2016-10-24 2 views
-1

아래의 지침에 사용 된 용어의 의미가 없기 때문에 단계를 알고 있지만 멈췄다.drupal에서 taxonomy term을 사용하여 views 트리를 만드는 방법

내가 위의 단계를 따르십시오
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 

, 내가 부모 자식 관계로 분류 용어를 만든 후, 나는 그들이 ** 필드 행 스타일/서식 목록 언급 becuase 내가 혼동을 가지고 여기에 뷰를 생성 (지금은 트리 스타일을 선택하지 않는 것이 중요합니다). 다음 : **

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 

내가 사전에 clickk 때 분류의 용어가 아니 분류 용어 어디 몰라

: 부모 기간이

에서 저를 도와주세요

답변

0

보기의 페이지 세부 사항에서 "advance"를 클릭하면 "Relationship"부분이 있습니다 : "Add"버튼을 클릭하고 "Taxonomy term : Parent term"을 선택하십시오. . 필드의 경우 "필드"파트와 "추가"버튼이 있습니다.

꽤 쉽습니다. 모든 것이 설명되어 있습니다. 단계별 지침입니다.

+0

분류 용어가 없습니다. 내 스크린 샷을 공유해야합니까? –

+0

/분류 모듈이 가능한지 확인하십시오. 2/당신이보기를 만들 때 이전에 저장하고 편집 내용 유형을 변경해야합니다 : "모든" 가 제대로 작성하지 않은 경우 "정렬되지 않은" , 당신은 원으로 분류 유형의 쇼 "분류 용어" 조회 검색에서 분류 용어가 없습니다. – Gossuin

+0

이것에 대해서 알고 싶습니다. 분류학 용어도 만들어야합니까? –