The only problem is, I can't figure out how to stop it from showing up in the URL. 'tags' is the default value of 'tagKey' property in toLinks - so that's where it is coming from. But there doesn't seem to be a way to tell toLinks to NOT send that bit of the query string. The closest I've been able to come up with is
[[!toLinks? &items=`[[+tv.edp_resourcetags]]` &tagKey=`` &target=`4347`]]
...which sends it with an empty value:
?tag=grumble&key=
This works - my results page is showing results. But it feels like a frustrating hack. I want to understand what my code isn't doing that it should be, or what that value is supposed to be doing, or... something. Can anyone shed a light on this?
[[!toLinks? &items=`[[+tv.your-tag-name]]` &tagKey=`your-tag-name` &target=`123`]]
[[!getResourcesTag? &tagKey=`your-tag-name` &elementClass=`modSnippet` &element=`getResources` &parents=`321` &limit=`0` &tpl=`myTpl` ...]]
[[!tolinks? &tagKey=`article_tags` &items=`[[+tv.article_tags]]` &outputDelim=` / ` &useTagsFurl=`1` &target=`5`]]
<a class="[[+cls]]" href="[[~[[+target]]]]/[[+tagKey]]/[[+tag:urlencode]]">[[+item]]</a>