Modx2 uses getResources + getPage to replace ditto snippet from Modx1.
Syntax wise, there are similarity but slightly different in usage.
ditto: display=`20`,
modx2: getResources &limit=`20`
ditto: &paginate=`1`,
modx2: getPage &pageVarKey=`page` &element=`getResources` &elementClass=`modSnippet`
ditto: &extenders=`summary,dateFilter`&dateFormat=`%b %d, %Y` &sortBy=`pub_date` &sortDir=`DESC` &dateSource=`pub_date`
modx2: &sortby=`publishedon` &sortdir=`desc`&sortby=`publishedon` &sortdir=`desc`
ditto chunk: [+date+], [+summary+]
modx2: [[+publishedon:strtotime:date=`%b %d, %Y`]], [[+introtext:empty=`[[+content:ellipsis=`250`:striptags]]`]]
And some additional parameter not set default by modx2 getResources:
&showHidden=`1` &includeContent=`1`
And display page number:
[[!+page.nav:notempty=`
`]]
For reference:
http://rtfm.modx.com/display/ADDON/getResources
Example:
[[!getPage? &limit=`20` &parents=`4733` &showHidden=`1`&sortby=`publishedon` &sortdir=`desc` &pageVarKey=`page`&element=`getResources` &elementClass=`modSnippet` &tpl=`ditto_investoraudit_summary2` &sortby=`publishedon` &sortdir=`desc` &includeContent=`1`]]
[[!+page.nav:notempty=`
<div class="paging">
<ul class="pageList">
[[!+page.nav]]
</ul>
</div>
`]]