I have a "Meeting" pagetype extending EPiServer.TemplatePage. A property defined for this pagetype is "MeetingDate" - set to a required value.
When an editor creates a Meeting I want to set the StopPublish property to be 6 months after whatever the editor set as the MeetingDate.
My initial expectation was that I could override the SavePage along the following lines:
public override bool SavePage()
// set the stopPublish date to be MeetingDate + 6months
... the code for doing that
return base.SavePage ();
But this method is not getting called when Save and Publish is invoked by the editor.
I've read myself silly on this now and would appreciate clues on how to progress. I have a feeling that I must latch on to EditPage class somehow.