Jump to:

3435 Posts in 1026 Topics by 866 members

Template Questions

SilverStripe Forums » Template Questions » Showing the last time the site was updated

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

Page: 1
Go to End
Author Topic: 409 Views
  • Chilli-D
    Avatar
    Community Member
    5 Posts

    Showing the last time the site was updated Link to this post

    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

  • swaiba
    Avatar
    Forum Moderator
    1785 Posts

    Re: Showing the last time the site was updated Link to this post

    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

    409 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.