include edit date on pages automatically?
Is there a code I could use to include the last edit date/time on pages automatically? I want users who are unable to access the Versions section to know when a page was modified.
Posted at 7:18 AM on July 31, 2009
This can be done with an edit to the Layout. This code will display the last modification date of the current page:
<p>Last modified <span editme="text util.formatDate(page.date,'MM/dd/yyyy')"/> by <span editme="text page.user"/></p>
If you paste that in, say, beneath the page content in your layout, it will display something like:
Last modified 08/01/2009 by ElizabethCFS
Posted at 8:21 AM on August 1, 2009
Posted at 8:23 AM on August 1, 2009
I like both ideas; I think I'll use each of them on different sites.
Posted at 9:51 AM on August 3, 2009
You can also use this:
[[include:_PageHistory page=MarketingAndMerchandising limit=1]]
However, it'd have to be place on every page individually.
Posted at 3:00 PM on March 21, 2012