Closed ss23 closed 6 years ago
From http://open.silverstripe.org/ticket/4630
I found I was unable to extend the CMSFields in the newsletter module. This simply required adding $this->extend('updateCMSFields', $ret); to the getCMSFields function which i what the attached patch has in it.
Patch Attached: http://open.silverstripe.org/attachment/ticket/4630/newsletterpatch.patch
However, I believe that the above patch will break things since updateCMSFields will run twice.
@howardgrigg
Fixed now using beforeExtending
beforeExtending
From http://open.silverstripe.org/ticket/4630
I found I was unable to extend the CMSFields in the newsletter module. This simply required adding $this->extend('updateCMSFields', $ret); to the getCMSFields function which i what the attached patch has in it.
Patch Attached: http://open.silverstripe.org/attachment/ticket/4630/newsletterpatch.patch
However, I believe that the above patch will break things since updateCMSFields will run twice.
@howardgrigg