In my CMS I have a page type News_Page.php.
in it I have a checkbox 'IsMainStory' which I check to make the story the headline story at top of holder page - and is thus displayed differnetly.
The problem is that as more and more news pages are added the 'IsMainStory' is still checked on other stories.
I want to check if the 'IsMainStory' is ticked on page I am about to save... and if it is I want to uncheck all other news page stories 'IsMainStory' checkbox.
Does this make sense? Does anyone know the correct way to do this. I believe I should use the 'onBeforeWrite ()' method.