Hello
I am trying to help navigation through quite a large site (several hundred pages) by using tags on the more detailed pages.
I have a "Related Pages" chunk that runs in the right-hand column of my site. This chunk returns a Ditto (v2.1.0) generated list of pages that share the same tags as the page being viewed. This works great on pages that are tagged.
I have an issue where the page being viewed is without a tag. My "related pages" chunk display EVERY page on the site that also has no tag.
As far as I can see there are two options: a) only display the "related pages" chunk on pages that are tagged, or b) filter the Ditto output to exclude pages with no tags.
I have tried and failed to do a) above and am now trying b).
I cannot work out how to create a filter that excludes null tags. Can anybody help me?
If it helps, my full Ditto call is
[!Ditto? &parents=`70` &tpl=`DittoTemplate2` &depth=`0` &tagData=`docTags` &tags=`[*docTags*]` &tagDelimiter=`,` &filter=`id,[*id*],2|docTags,'',8` &display=`all` !]
The first filter excludes the current page from the "related pages" listing. I am having trouble with the second filter (after the ’|’).
Thanks in advance
Lee