Apologies in advance if I'm missing something blindingly obvious.
I have tagged content for which I have set up a view that uses a contextual filter to organize the pages by year (.../2025, .../2024, etc.).
I'd like to be able to put a menu block on those pages. I set up a layout with a path of taxonomy/term/% and a condition of the URL of the pages plus an asterisk (specifically, crime/murder/* - I write about crime).
Menu didn't show. I noticed I could also set a visibility condition for the block itself, so I set that to look for a taxonomy term set to the TID of the specific term used to tag posts). Did that, didn't help.
Any suggestions most welcome!
Comments
I tried something similar with a Custom Block (instead of a menu). It did work for me.
taxonomy/term/%
tags/*
That worked. In your path, is
crime/murder/
your alias pattern for that vocabulary? If you open your vocab atadmin/structure/taxonomy/VOCABULARY/configure
what's in the Default URL alias pattern?Oh, that might be my problem! I've set the layout for taxonomy/term/1134 (the TID for the term in question), but the view is generating an entirely new page, not rebuilding that specific taxonomy page (so, in fact, I have two pages on the site now with the same basic content, just one looks like every other taxonomy page, while the other has a year filter and a map). Thanks, now to go fix that.