TVI does not do anything until you select "Child terms will use these settings"

Created on 30 December 2024, about 2 months ago

Problem/Motivation

When you enable Taxonomy Views Integrator module, and choose "Enable taxonomy views integrator to override presentation" and select the View and Views Display to use, you pretty naturally expect it will begin doing that for a normal taxonomy term page. It does not, until you also select:

Child terms will use these settings.

Checking this field will allow you to define a view used by the current term and display on all of its children, unless they have their own settings configured.

Still do not fully understand what that means, but if it has to be checked maybe it should be checked be default or very prominently documented.

This issue is a direct follow-up to 🌱 Simplify TVI Closed: outdated and lisastreeter 's comment there:

I'm new to TVI, so my perspective is likely fairly limited. I'm using it for just one vocabulary. On the Edit vocabulary page, I enabled TVI, selected the view, and a page-type display. I was initially confused by the "Child terms will use these settings" checkbox and discovered that without it, nothing worked. My taxonomy is flat, without any nesting, so I mistakenly thought that meant I didn't have any "child terms." Once I figured out that I needed to check the box anyway, I was left wondering why the checkbox existed at all. Wouldn't it always be required? I guess I don't really understand the use-case for not checking the box. Perhaps it's for the case in which only the pages of of the terms should be overridden and the rest should just display as normal?

Seven years later, and i am having exactly the same experience! "This is simply… not working? No one else is reporting this, so there is somehow something wrong with my setup or everybody else also thinks they are losing their mind." I really should do a test on a clean install and see if this is reproducible, and then file an issue… i never did put in that work, but on the second usage on another project i at least identified which checkbox did the trick (i had mistakenly thought it was setting the global configuration that was needed).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🌱 Plan
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mlncn
  • 🇺🇸United States mlncn Minneapolis, MN, USA
  • 🇬🇧United Kingdom JamesOakley Kent, UK

    Maybe this is a documentation issue. I also cannot work out what "Checking this field will allow you to define a view used by the current term and display on all of its children, unless they have their own settings configured" means. What are the children of a view? Or does this mean the children of a term on the vocabulary?

    I think it might mean that the taxonomy terms are all children of the vocabulary, so if you set this as an integrated view for the vocabulary itself then you want that same view to apply to all children (terms) unless specific TVI settings are applied to those terms. That probably does make sense if you're setting an integrated view on a term, because terms can have child terms, so it makes sense to apply the same view automatically to child terms. So maybe it's that the same checkbox label is used for the vocabulary itself, where "terms" as "children" of the vocabulary is a strange way to put it.

    If that's what it means, it makes sense that you have to check the box before the vocabulary does anything, because vocabularies themselves presumably would never get displayed in a way this module would handle.

Production build 0.71.5 2024