Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.

 

Hide Start Publish

Vote:
 

Hi

I want to remove the possibility to set the Start Publish for a page type.

It’s Possible?

#34490
Nov 09, 2009 9:09
Vote:
 

I might be missing something here, but this might work:

 

Create a class that derives from PropertyDateControl and override the CreateEditControls or perhaps the SetupEditControl method. In this method, set Visible = false for the EditControl (or somehow disable it) IF the Name property equals "PageStartPublish" (or whatever it is). Then in your global class, use the Application_Start event handler to replace the PropertyDateControl with your derived class using PropertyControlClassFactory.Instance.RegisterClass.

#34538
Nov 09, 2009 11:08
Vote:
 

I mean in admin mode, without change the code.

 

#34549
Nov 09, 2009 12:15
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.