It’s weird because I followed this tutorial exactly:
http://ditto.modxcms.com/tutorials/creating-a-custom-template.html
Step 1
Create a chunk based on following code and note its name. This document will assume you named it DittoTemplate.
Default display template (tpl):
<div class="ditto_item" id="ditto_item_[+id+]"> <h3 class="ditto_pageTitle"><a href="[~[+id+]~]">[+pagetitle+]</a></h3> <div class="ditto_documentInfo">by <strong>[+author+]</strong> on [+date+]</div> <div class="ditto_introText">[+introtext+]</div> </div>
Step 2
Append &tpl=`DittoTemplate` to your snippet call and Ditto will use your custom template
__
So, I have a chunk named DittoTemplate.
And in my Template, I have [!Ditto? &tpl=`DittoTemplate`!]
... Do I need to create a New Document in addition to the DittoTemplate chunk? If so, the above tutorial doesn’t mention that.