Pulling my hair out over what should be default behavior, but isn't...
I have a single Articles container, and in the rowTpl use this code to list the tags applied to each post:
Posted in [[+tv.articlestags:notempty=`[[!tolinks? &items=`[[+tv.articlestags]]` &tagKey=`articlestags` &target=`[[*id]]` &cls=`postTags`]]
On the post page, I want to list tags applied to that resource, and use the sample template's default code:
Posted in [[*articlestags:notempty=` [[+article_tags]]`]]
Note that in the row template, I set the tagKey to "articlestags". Otherwise, the key defaults to "tags", which produces no output when you click through on the tag link. Why? Because the TV is named 'articlestags'.
So here's my basic question -- why does default code within the sample template, structured to list the tags of the current post, produce incorrect results???? It's output has the key "tags", but according to the documentation, the articles_tags placeholder "contains a list of all tags that the current article has been tagged with" and as far as I can tell, the TV is named articlestags.
I have rooted through the placeholders, along with dozens of forum posts, and cannot sort this out.
What am I doing wrong? Please help - thanks!
[ed. note: wpicotte last edited this post 9 years, 10 months ago.]