Jump to:

5453 Posts in 1674 Topics by 1198 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: 1451 Views
  • snaip
    Avatar
    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;
    $cp->write();
    return parent::onAfterWrite();
    }

    makes problems with GO and Save & Publish button

    1451 Views
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.