Try our conversational search powered by Generative AI!

Upgraded Epi 7 site Modified date won't change

Vote:
 

Hi i've upgraded a number of EPi CMS 6 R2 sites to EPi 7 patch 3 and 4. After upgrading there were ofcourse a few issues but the latest is that modifying the page content doesn not change the modified date ..for some reason.

Anybody have any suggestions? Just noticed this and haven't dug in deep enough to know if this is something trivial.

Cheers,

#77472
Nov 20, 2013 8:37
Vote:
 

Doesn't the modifieddate change even when you check the "mark page as changed" box before publishing?

#77477
Nov 20, 2013 9:16
Vote:
 

Yeah - just noticed it in settings pane.

 

I also noticed that there was a hack used in EPiServer CMS 6 R2 that moved this property to the content tab and set it as checked - that doesn't seem to work any longer.

This code snippet was added to the global.asax.

 

		void EditPanel_LoadedPage(EditPanel sender, LoadedPageEventArgs e)
		{
			// move "Mark Page as Changed" checkbox to "Content" tab in edit mode and set by default to true
			string pageChangedOnPublishPropertyName = "PageChangedOnPublish";

			if (PageContentTab != null)
			{
				e.Page.Property[pageChangedOnPublishPropertyName].Value = true;
				e.Page.Property[pageChangedOnPublishPropertyName].OwnerTab = PageContentTab.ID;
			}
		}

    

#77479
Nov 20, 2013 9:25
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.