We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26931
    • 2,314 Posts
    Hey guys,

    i use Ditto tagging for almost every document of a website, right now i call ditto in the template with a TV [*dittotags*] and a default value for it:
    [!Ditto? &documents=`[*id*]` &tagDocumentID=`153` &tpl=`TaggingTemplate` &extenders=`tagging` &tagData=`myTags` &tagDelimiter=`,` &tagDisplayDelimiter=`, `!]


    the chunk for &tpl=`TaggingTemplate` looks like this:
    {{TaggingTemplate}} -> Tags: [+tagLinks+]


    everything works great so far, but for some pages i don’t wont to allow/display anny tagging...of course the simplest way would be another template without the call for non-tagged documents, another way would probably be to use phx in the template [*dittotags*] to not display any output ("Tags: none") if the value of [+tagLinks+] is "none"...or phx within the call...or..i thought i’ve seen somewhere in the forum/documentation a Ditto-way to not show any output if no tags are selected..?! any ideas...pointers smiley

    thanks, j