I’m modifying MODxHost’s sample template to test out Ditto. I wanted to add a date field to ’nl_sidebar’ chunk.
’nl_sidebar’ chunk:
<p>By <strong>[+author+]</strong> on [+date+]
<strong><a href="[~[+id+]~]" title="[+title+]">[+title+]</a></strong>
[+longtitle+]
<a href="[~[+id+]~]#pageComments">[[Jot? &docid=`[+id+]` &action=`count-comments`]] comments</a></p>
Problem is, [+date+] is showing a blank. Why doesn’t it simple show the document’s date?
Please help, thank you.
Which version of Ditto are you using?
I’m using Ditto 2.0 RC2.
Installed MODx 0.9.6 RC1 on WinXP with the latest apache, mysql and php trio.
Ditto 2 is already at 2.0.1. Please upgrade as that bug was fixed in RC3.