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.

Customising the CMS /

how to connect two values ?


Go to End
Reply


9 Posts   1703 Views

Avatar
snaip

Community Member, 180 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