Hello,
I’m trying to get some news teasers out of documents that are stored themselfs in subfolders ( one folder for each client - for grouping purposes), the Ditto call therefore is 2 levels up the docs I need. The subfolders should not appear in the ditto listing, only their child documents (grand childs to the doc with the Ditto call).
I tried this with
&where=`isfolder,0,2` in the Ditto call should read WHERE the document’s "isfolder" property equals to 0. So I hoped to eliminate the grouping subfolders and get the docs in the subfolders. But I’m getting MODx parse errors (... operand should contain 1 column(s)), and I’m not sure if the &where foramting is correct. Also tried &where=`isfolder==0`, and &filter=`isfolder,0,2`
Any hint for that? Or maybe a better solution?
Thanks a lot!