I have a view which accepts taxonomy terms as contextual filters.
Now, what I would like to have is to put the vocabulary of the term in a field. Relationships?...
On the nodes that arewhown by views there are two fields with taxonony terms, and the view can be sorted by both. I want to access the very one the view is filtered with.
-
Is it a node view or a taxonomy view?– Gokul N KJul 8, 2014 at 12:45
-
this is a node view, (ie, a view of nodes), filtered by tax terms– DalmazJul 8, 2014 at 12:53
2 Answers
Add a term relationship
based on the term field.
Then add a taxonomy Vocabulary Name
Field using that relationship.
-
The thing is the node there are two fields with taxonony terms, and the view can be sorted by bot, and I want to access the very one the view is sorted with.– DalmazJul 8, 2014 at 13:06
If you put a field in views with taxonomy vocabulary name then there is no need to use relationship. While creating a new view just select -
Show -> Taxonomy Terms
But if you want to show other content fields with that view then use relationship -
Taxonomy term: Content with term
-
I edited the question to make it more clear: I need to access the vocabulary of the term that is being used for filtering.– DalmazJul 8, 2014 at 13:09