-
MODX Staff
- 10,725 Posts
Sounds like just a simple error in the Revo port of Ditto.
You could just be dealing with a bug in Ditto. The port to Revo is fairly recent and you may be the first to try that capability.
I think it’s about time to post it to Jira using the link at the top of this page.
It seems I spoke too soon. Although I’ve been able to stop the filter producing an error, it still doesn’t work as expected. Here is my left column Ditto call:
[[!Ditto? &parents=`[[*id]]` &tpl=`content_block` &filter=`blocklocation,left,1` !]]
and right column:
[[!Ditto? &parents=`[[*id]]` &tpl=`content_block` &filter=`blocklocation,right,1` !]]
For testing I have two pages, both with two children. One of each pair of children has blocklocation set to left, one to right. On the home page, the first of the test pages, the above call results in both children appearing in the left column and neither on the right (wrong). On the second test page, the one set to left appears on the right and the other does not appear at all.
I have no idea how to go about tracking this down.