Quote from: Darkelve at Mar 19, 2010, 10:06 AM
I found a snippet that does what I want: SiteLastUpdated
Did not find it at first since I was searching for ’page last edited’, ’last edited’, ...
Won’t this just list when your site was last updated - not when a specific page was modified? Which do you want?
I wanted to define when a page was modified so taken from
http://mindspill.net/computing/cross-platform-notes/modx/modx-customisations.html
I created a snippet called dateEdit with the following code.
<?php
// Output formatted page edited date.
echo strftime("%A %d %B, %Y", $modx->documentObject['editedon']);
?>
Then at the bottom of my template under the content block I have
<h6>Last edit [[dateEdit]]</h6>
The results can be seen on my recently launched website
www.cherryclan.com , each page showing when it was edited.