Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Showing the last time the site was updated


Go to End


2 Posts   848 Views

Avatar
Chilli-D

Community Member, 5 Posts

28 March 2012 at 11:19pm

I know its possible to display the last time a specific page was updated,

$LastEdited

But is there a similar way to show when the site as a whole was last updated, i.e:

$SiteLastEdited ??

Thanks

C

Avatar
swaiba

Forum Moderator, 1899 Posts

29 March 2012 at 3:14am

Sorry not that I know of... of course you could write a function for page controller doing something like...

SELECT Max(LastEditted) FROM SiteTreeL_live