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:

Customising the CMS /

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

Prevent date of published pages from changing

Go to End

2 Posts   812 Views

Voodoo Priest

Community Member, 32 Posts

2 January 2013 at 11:37am

Hi all,
I have noticed that whenever there is a change in the backend that I've made on a page that has been published for days, the date that shows up on the frontend is the date that the change was made, even though the change hasn't been published.

I've noticed this specifically for blog entries using the Blog module but maybe the issue is related to the CMS.

If I haven't clicked the Save & Publish button, I'm expecting my website to remain immune to any changes I've made in the backend as the changes might be temporary.

Does anyone know how I can prevent the modification date from showing up when I use $Date in my template?

Thank you.


Community Member, 7 Posts

9 January 2013 at 9:47am

When you are logged in as admin and you view the site you could be potentially viewing the staged (draft) version of your site. To check whether you are, add ?stage=live to the end of your url. Does the modified date still appear?