We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28838
    • 8 Posts
    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.

      • 18397
      • 3,250 Posts
      Which version of Ditto are you using?
        • 28838
        • 8 Posts
        I’m using Ditto 2.0 RC2.

        Installed MODx 0.9.6 RC1 on WinXP with the latest apache, mysql and php trio.
          • 18397
          • 3,250 Posts
          Ditto 2 is already at 2.0.1. Please upgrade as that bug was fixed in RC3.