Hi Mark,
Could you please explain me how to display the tags value for a TV in doc listing without having to set the &tags param.
For instance, I’ d like the TV value for each doc be rendered in ditto Tpl.
So I’ve inserted the tagLinks in my tpl and added &tagData=`myTV`
here is my chunk:
<div class="photoVig">
[+phx:if=`[+thumbImg+]`:is=``:then=``:else=`<span class="vignette"><a href="[~[+id+]~]" >[+#thumbImg+]</a></span>`+]
<h4 class="titPhoto">([+id+])<a href="[~[+id+]~]">[+#pagetitle+]</a></h4>
<p>Tags: [+tagLinks+] <br />date:[+createdon:date=`%d %m %Y %R %S`+]<p>
<p>[+#content+]</p>
</div>
And My call:
[!DittoBeta02? &parents=`14526,11552` &summarize=`210` &paginate=`1` &tpl=`photolist2` &tplFirst=`photolistAlt` &tplLast=`photolistAlt` &tplAlt=`photolistAlt` &debug=`1` &depth=`3` &sortBy=`id` &sortDir=`ASC` &hideFolders=`1` &tagDelimiter=`,` &tagData=`tagsPhoto` !]
Ditto return "No document Found".
Is it mandatory to specify all the value of myTV in &tags param to retrieve the docs .
I thought if &tags was not set ditto would return all the documents with a value for this TV and will replace the taglinks placeholder with them.
Am I wrong ?
:-)