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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

how to connect two values ?


Go to End


9 Posts   2198 Views

Avatar
snaip

Community Member, 181 Posts

18 May 2009 at 10:11am

:)

but my question was , why this function

public function onAfterWrite() {
$cp = DataObject::get_by_id('PlOpiniePage',$this->ID);
$cp->Calendar = $this->Calendar_moth . $this->Calendar_year;
$cp->write();
return parent::onAfterWrite();
}

makes problems with GO and Save & Publish button

Go to Top