I am trying to attempt a ditto call to dynamically show pages which are tagged. I have done this, however it is not quite 100%.
I have a TV with multiple list items that can be checked for each page. This is to categorize them. That all works.
I then want to call a Ditto call on each page to display pages with these tags according to the tags set in the same TV.
For example:
Page with ditto call | cat3, cat 4
---
Page 1 | cat1, cat 2
Page 2 | cat2, cat 3
Page 3 | cat3, cat 4
The ditto call would call page 3 and page 4.
[!Ditto? &depth=`0` &summarize=`10` &startID=`0` &tagDelimeter=`,` &tagData=`tvprofile` &tagMode=`onlyTags` &tags=`[*profile*]` &separator=`,` &filter=`id,[*id*],2` !]
The problem I am getting with this is that it only calls, for instance, Page 3 because it too has cat3 and cat4 in the TV but I want any of those categories to show. The &tags=`[*profile*]` would call "cat3,cat 4".
Am I missing a crucial part of the puzzle or show I have different TVs for each category rather than a checklist?
* PHP version 5.2.5, Apache, OSX 10.5 running MAMP, MySQL version 5.0.41, MODx Version 0.9.6.1B
Did you configure the TV output widget to a delimited list? This is important for multiple tags. Also to se the summarize function you need to load the summary extender &extender=`summary`.
Also I think that you can either use the tag or the filter. I don’t think that both will work together since the tag is a custom filter and will then bypass the filter you set.
Also I am not familiar with this &separator=`,`