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.

Customising the CMS

Prevent date of published pages from changing


Reply

2 Posts   303 Views

Avatar
vodoomoth

2 January 2013 at 11:37am Community Member, 22 Posts

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 BlogEntry.ss template?

Thank you.

Avatar
jbridson

9 January 2013 at 9:47am Community Member, 7 Posts

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?