I have a working example of tagging build by following the screencast step-by-step; the only thing missing is the output of the [+tagLinks+] placeholder when used directly in titles (or body) of the landing page... the article filtering still works but I get empty strings in place of [+tagLinks+] !
call on the main News-page:
[tt][[Ditto?parents=`13` &extenders=`summary,dateFilter,tagging` &tagData=`DittoTag` &tagDelimiter=`, ` &tagDocumentID=`495` &id=`newspage` &filter=`DittoFilter,dynSpotLight,7` &tpl=`DittoSpotlightTests` &randomize=`1` &trunc=`1` &truncLen=`150` &truncText=`continua...` &summarize=`1`]][/tt]
call on the Landing-page (DocId 495):
[tt][[Ditto?parents=`13,321` &sortBy=`editedon` &extenders=`summary,dateFilter,tagging` &tagData=`DittoTag` &tagDelimiter=`, ` &tagDisplayDelimiter=` | ` &id=`newspage` &tpl=`DittoNewsPage` &summarize=`10` &debug=`1` &trunc=`1` &truncLen=`100`]][/tt]
and finally here’s Ditto’s debug output (I had to save it as .txt to upload it in the forum, rename it to html to view it in your browser)
Try this call on the landing page. If it works, add a parameter back one at a time until it fails. Then let me know which one breaks it.
[!Ditto?parents=`13`&tagData=`DittoTag` &tagDelimiter=`, ` &tpl=`DittoNewsPage`!]
Also, could you please provide the contents of the chunk DittoNewsPage for examination? Thanks.
...l got an empty string from [+TagLinks+] even when using your simplified call in the landing -page
the template it’s just:
<div class="ditto_NewsPage clearfix">
<h2><a href="[~[+id+]~]">[+title+]</a><span class="postDate">([+date+])</span>
</h2>
[+summary+]
[+link+]
<hr />
</div>
Then I tried removing the &id=newspage parameter from the first call also, and it worked; so it ends up being related to the issue in my
other recent post/question .
if you use &id in the first Ditto call, then all url-parameters for tags are changed (newspage_tags instead of tags), it seems that the code generating the [+TagLinks+] output is not aware of this and thus just parses an empty variable (?!? bug ?!?)
...I do need using the &id parameter because I also have a DittoCal calendar on the page...
Are you using [+tagLinks+] or [+TagLinks+], the former being the correct one to use.
using the former, sorry for misspelling it; did you read the partial solution (and the possible Ditto bug) at the end of the previous post?
UPDATE:
the exact same Ditto call generates the correct [+TagLinks+] output in Modx0.9.5 but nothing under 0.9.6!
Shouldn’t this be investigated further ? added to the Bug Tracker ?!