Welcome

Login to contribute. Register if you haven't yet.

Support Options

1. Search this site.
2. Make or vote for a Suggestion.
3. Post to Community Support.
3. Contact EditMe Support staff.

Stay Informed

Keep informed of product changes, tutorials and tips via EditMe's Blog and monthly newsletter.

include edit date on pages automatically?

Forums / Questions

ElizabethCFS says:

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.

Thanks!
Elizabeth

Posted at 7:18 AM on July 31, 2009


matt staff says:

Elizabeth,

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

matt staff says:

You could also put this into a scripted page and then use an include tag to drop it into specific pages.

Posted at 8:23 AM on August 1, 2009

ElizabethCFS says:

Thanks, Matt!

I like both ideas; I think I'll use each of them on different sites.

Elizabeth

Posted at 9:51 AM on August 3, 2009

jcade says:

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

You must log in to reply