Is it possible to display the date that a page was last updated in the footer of a page, without having to check the "Mark page as changed" checkbox?
We don't expect to use subscriptions immediately, but we may want to in the future. We wouldn't want the date changing in the footer to cause problems with subscriptions - especially if the change made to a page isn't very significant - and is perhaps due to amending a typo!
If you don't want to use the "Mark page as changed" option to update the Changed property on the page, you can get the published version of the page and show the Saved date for that version:
PageVersion publishedPageVersion = EPiServer.DataAbstraction.PageVersion.LoadPublishedVersion(pageReference);
DateTime saved = publishedPageVersion.Saved;
I hope this helps!
Thanks Karoline. I've asked our developers to see if they can use this instead of the "Mark page as changed" option.