MODX Revolution 2.1.3-pl
I set up a blog using instructions here:
http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution
I set up the ’tags’ TV where input type is ’checkbox’ and values are ’email==email||webmail==webmail||general info==general info’
Output type is ’delimiter’, and delimiter is comma
The Chunk that shows each result of my blog post listing has the following to output tags:
[[+tv.tags:notempty=`| <span class="tags">Tags: [[!tolinks? &items=`[[+tv.tags]]` &key=`tag` &target=`13`]]</span>`]]
My blog template (to display the entire blog post) has the following for tags:
[[*tags:notempty=`<span class="tags">Tags: [[!tolinks? &items=`[[*tags]]` &key=`tag` &target=`13`]]</span>`]]
Just wanted to overview how things are set up. Now on to the actual problem.
What’s happening is, on the blog post listing page
only, the output has my tags concatenated together. Here is inspected element via Firebug:
<span class="tags">
Tags:
<a class="tl-tag" href="blog/?tag=email%7C%7Cwebmail&key=tags">email||webmail</a>
</span>
Whereas when I actually click ’read more’ to view the entire blog post, it outputs correctly and as expected:
<span class="tags">
Tags: <a class="tl-tag" href="blog/?tag=email&key=tags">email</a>
,
<a class="tl-tag" href="blog/?tag=webmail&key=tags">webmail</a>
</span>
Does anyone have any ideas where I goofed to create this inconsistency?