I use Views to display taxonomy. My taxonomy view settings are:

TITLE
Title:None

FORMAT
Format:Unformatted list | Settings
Show:Content | Teaser

FIELDS
The selected style or row format does not utilize fields.

FILTER CRITERIA
Content: Published or admin
Content: Show as content box (= 1)

SORT CRITERIA
Content: Sticky (desc)
Content: Post date (desc)

PAGE SETTINGS
Path:/taxonomy/term/%
Menu:No menu
Access:None

HEADER
Global: View area

FOOTER

PAGER
Use pager:Display all items | All items
More link:No

CONTEXTUAL FILTERS
Content: Has taxonomy term ID (with depth)
Content: Has taxonomy term ID depth modifier

I created another taxonomy view as mentioned in articles to be able to show custom fields:

Display even if view has no result
View: taxonomy_child - Display: default

The header view:

TITLE
Title:None

FORMAT
Format:Unformatted list | Settings
Show:Fields | Settings

FIELDS
Taxonomy term: Term description

FILTER CRITERIA

SORT CRITERIA

BLOCK SETTINGS
Block name:None
Access:Permission | View published content

HEADER

FOOTER

PAGER
Use pager:Display a specified number of items | 1 item
More link:No

Unfortunately, it does not display on the page. However, header is displayed in View preview in admin panel when you type Taxonomy ID. How to display custom fields on taxonomy page? Or otherwise can I add custom fields in .tpl.php templates?

Comments

Stefan Lehmann’s picture

Not sure what you mean, but if you want to show / select single fields in a View then you have to switch:

Show:Content | Teaser

to

Show:Fields | Settings

by clicking on "Content" I believe.. Is this what you mean?

I like cookies!

nevets’s picture

I would visit the "Manage Display" tab for the vocabulary and make sure the fields I wanted were set to display.

ladybug_3777’s picture

I'm having the same problem. If I enable the "Taxonomy term" view, I am able to customize the listing of nodes tagged with the term I'm viewing, BUT the individual custom fields on the term itself no longer display.

Example:
Person vocabulary has fields for
Department
Favorite Color

In the "Manage Display" tab for the Person vocab I have those 2 custom fields set to display, and they display just fine along with related node content listed underneath.

HOWEVER, once I enable the "Taxonomy term" view only the related node content is listed, my custom fields for Department and Favorite Color are gone.

nevets’s picture

Do you have those fields enabled for the "teaser" view mode?

ladybug_3777’s picture

There is no "teaser" view mode for taxonomy terms. There is a "taxonomy term page" view mode (which is what I think you mean to say) and yes I do have those fields enabled for display on both that view mode and the "default" view mode. However, they still do not display once the view is enabled. Also note, after enabling or disabling the view "taxonomy term" a flush cache is usually needed in order to see how it causes those custom fields to disappear/appear.

*EDIT*
Maybe it is not clear that I'm talking about custom fields on the TAXONOMY TERM, not custom fields on the nodes that are being output for related content. Its the term's fields that disappear.

ladybug_3777’s picture

Also, for anyone interested in how to solve this issue, I've decided to use the taxonomy display (https://www.drupal.org/project/taxonomy_display) module instead of enabling the "taxonomy term" view.

hatuhay’s picture

Same problem with Drupal 8, start to look for new alternatives

sprite’s picture

One of the sources of Taxonomy traversal Views (with contextual filter) not working is the fact that there can only be ONE taxonomy traversal View on a Drupal website unless the site has installed the taxonomy views integration (TVI) module. Even then, there can only be one taxonomy traversal view for each taxonomy on the Drupal website, and each must be configured using the TVI module.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

nasinandes’s picture

Hello,

I follow this threat because I have the same problem in drupal 8. I have a lot of words in a taxonomy, but when I need to show all nodes (articles) that have one concret word drupal show-me one page with no one result.

I'm also searchin new alternatives.
Thanks!