Try our conversational search powered by Generative AI!

Change date updated in page footer without using "Mark page as changed"

Vote:
 

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!

Thanks

Karen

#52555
Aug 02, 2011 14:57
Vote:
 

Hi,

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!

Karoline

    

#52596
Edited, Aug 04, 2011 12:49
Vote:
 

Thanks Karoline. I've asked our developers to see if they can use this instead of the "Mark page as changed" option.

Regards

Karen

#52620
Aug 05, 2011 15:04
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.