We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 302
    • 6 Posts
    Hi there,

    On every page there are fields under Changes for Created: and Edited:

    Changes
    Created: 01-09-2009 08:34:34 (admin)
    Edited: 03-09-2009 18:11:15 (admin)

    How can I get these fields to output in a template the same way we output things like [*longtitle*] or [*introtext*] etc.

    I can’t seem to find any reference to working with these fields that doesn’t involve a snippet like Ditto or Jot.

    Thanks for any insight!
    Dave
      • 4310
      • 2,310 Posts
      [*createdon*] & [*editedon*] would work, but as the date is stored as a unix timestamp they would need a snippet or PHx to format the date to something more user friendly.
        • 33337
        • 3,975 Posts
        Zaigham (aka zi) Reply #3, 17 years ago
        This might help: http://modxcms.com/extras/package/25

        OR

        If you are a bit of code savvy, install PHx plugin and use its modifiers.
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 302
          • 6 Posts
          Thanks guys,

          I am NOT very code savy at all so the Author Timestamp should do the trick! I figured something like this must have exsisted but in this case I had no idea what to search for... Author Timestamp!

          Thanks again for the quick help!
          Dave