I would like for all of my pages to automatically display the date and time it was last edited. I believe this will need to be in a TV but is there a snippet for this? Or a standard variable I can enter?
Thanks!
-
☆ A M B ☆
- 24,524 Posts
You can have a simple snippet in your template to get the $modx->documentObject[’editedon’] value (a Unix timestamp) and convert it to the format you wish.