-
MODX Staff
- 2,502 Posts
Is that Ditto Call copied and pasted? There are some issues with no spacing and double ampersands.:
[[Ditto? &parents=`21,27` &tpl=`showNews` &depth=`1` &sortBy=`tvmyDate`&total=`all`&summarize=`3` &paginate=`1` &display=`all`&paginateAlwaysShowLinks=`1` &tplPaginatePrevious=`previousLNEn` &&tplPaginateNext=`nextLNEn` &tplPaginatePreviousOff=`` &tplPaginateNextOff=`` &dateFormat=`%c`&debug=`1`]]
should be:
[[Ditto? &parents=`21,27` &tpl=`showNews` &depth=`1` &sortBy=`tvmyDate` &total=`all` &summarize=`3` &paginate=`1` &display=`all` &paginateAlwaysShowLinks=`1` &tplPaginatePrevious=`previousLNEn` &tplPaginateNext=`nextLNEn` &tplPaginatePreviousOff=`` &tplPaginateNextOff=`` &dateFormat=`%c` &debug=`1`]]
See if that works. There should be a space between the previous parameter and the next. In addition you had
&&tplPaginateNext=`nextLNEn` vs
&tplPaginateNext=`nextLNEn`. Hope this helps.
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
Thank you for your reply,
but it doesnt work.
It could be a problem linked with that myDate is a Date Formatter and not Unixtime.
Maybe it must be a type Unixtime? and next apply some formatting for the output.
Thanks a lot for your posting.
But I’m wondering why it should be a type Unixtime and not Data Formatter. Though it should be allowed to use Data Formatter when I want to sort. In my opinion this is a kind of bug;) But I can be wrong.