There is one interesting moment.
1)
MODx Evo 1.0.4 - Ditto call:
[[Ditto?id=`main` &documents=`[*id*]` &tagData=`ArticlesCategory` &tagDelimiter=`, ` &tpl=`tplCurrentArticle`]]
- results good, as expected.
2)
MODx Evo 1.0.6 - Ditto call:
[[Ditto?id=`main` &documents=`[*id*]`
&tagData=`ArticlesCategory` &tagDelimiter=`, `
&tpl=`tplCurrentArticle`]]
Error - "Execution of a query to the database failed - You
have an error in your SQL syntax; check the manual that corresponds to
your MySQL server version for the right syntax to use near '[*id*])".
Ditto version is same in all case. What it is?
It was not updating process, it was clean install 1.0.6 on other server.
-
☆ A M B ☆
- 24,524 Posts
Try &parents=`[*id*]` instead of &documents
-
☆ A M B ☆
- 24,524 Posts
Ah, no, it won't! Sorry about that! Try calling Ditto uncached [!...!]