Hi
I hope someone can help me here - I have really tried to sort this issue myself but have failed so far to come with anything... Despite the contradictions between the "snippet" and "Ditto" code suggested on the TvTagCloud download page and the examples embedded within the actual download file, I have got this partially working. Here’s what I did:
I am using the latest modx and TvTagCloud 2.1.3.
a) I created a new tv with the name ’docTags’.
b) My TagCloud code is a chunk as follows:
<div class="sideitem">
<h4>Subjects covered</h4>
[!TvTagCloud? &parent=`70` &sort=`asc` &landing=`518` &tagDelim=`,` &tooltip=`[+count+]` &tvTags=`docTags` &showCount=`1`!]
</div>
c) The code on my landing page (ID 518) reads:
[!Ditto? &parents=`70` &tagData=`docTags` &tagDelimiter=`,`!]
I have populated a handful of pages (page ID 70 is ultimate parent of all) with some single-word and two-word tags. The cloud displays correctly - all tags are listed and totalled correctly.
The issue I have is that when I click on one tag, say, the landing page correctly lists the pages with that given tag. However when I click on another tag, the landing page states ’No documents found.’ even though I *know* that there are pages with that tag. It doesn’t matter whether the tag is single- or two-word and there is NO difference in the configuration (publish, cache, etc) of the tagged content pages.
Does anyone have any idea why the landing page would NOT consistently list the pages even though TvTagCloud correctly creates the cloud? What should I be looking for here? Is it possible that some pages being several layers down, i.e. ’grandchildren’ or lower below page ID 70 could have anything to do with it?
Thanks in advance for any assistance.
Leapy