Jump to:

5552 Posts in 1742 Topics by 1226 members

Customising the CMS

SilverStripe Forums » Customising the CMS » how to connect two values ?

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

Page: 1 2
Go to End
Author Topic: 1598 Views
  • snaip
    Community Member
    180 Posts

    Re: how to connect two values ? Link to this post

    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;
    return parent::onAfterWrite();

    makes problems with GO and Save & Publish button

Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.