Не могу понять как реализовать то, что написано в уроке
http://ditto.modxcms.com/tutorials/wordpress-style-archives.html в английском я слаб(
1)Copy the following call to where you would like your archive displayed
[!Reflect?config=`wordpress` &targetID=`5` &getDocuments=`1` &dittoSnippetParameters=`parents:5`&id=`main`!]
2)Change the 2 in
parents:5 to the container holding your documents
3)Create a new document with the following content:
<h2>[+wp_month+] [+wp_day+] [+wp_year+]</h2>
[!Ditto? &id=`main` &extenders=`dateFilter` &parents=`5`!]
Make sure you change the 2 in
&parents=`5` to the container holding your documents
4)Change
&targetID=`5` in the Reflect call to reference the id of the new document.