Ditto
Content aggregation is implemented in MODx by using the snippet Ditto. Ditto is so useful and flexible that MODx has a separate site with documentation for this particular core snippet, maintained by Mark Kaplan, the author of Ditto. This chapter discusses in detail the various parameters of this snippet. Ditto is just another snippet, so you can call it from any template or resource in the same way that you call any other snippet. Like any other snippet, its functionality is flexible and configurable by passing appropriate values as parameters. There is also the flexibility to customize the returned results by using placeholders.
Let's start playing with Ditto by creating a resource with the title Getting to know ditto, with the content of the resource as:
[!Ditto!]
Save this resource and preview the page. Now, if you click Preview, you will see something like the following:
More flexibility with parameters
The preceding screenshot conveys that Ditto has not found any resources. (In the...