Here's a strange one..
I am using taglister like so in my sidebar:
[[!tagLister? &tv=`blogTags` &target=`131` ]]
This shows a list of tags, and when clicked they go to:
domain.com/blog/?tag=fun&key=blogTags
but if I create a TPL for the links like so:
[[!tagLister? &tv=`blogTags` &target=`131` &tpl=`tagSidebarTpl` ]]
With the TPL code as so:
<li class="[[+cls]]">
<a href="[[~[[+target]]? &[[+tagVar]]=`[[+tag]]`]]">[[+tag]] ([[+count]])</a>
</li>
The URLs generated become:
domain.com/blog/?tag=fun
Which look better visually (ie, they don't include the &key=blogTags) but they don't work any longer.
I took the above TPL from the Taglister documentation (
https://docs.modx.com/extras/revo/taglister/taglister.taglister/taglister.taglister.tpl).
I'm assuming it's something to do with the tagVar not being recognised?
Any ideas?
Thanks as always!
Andy