Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » newsletter module question

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 167 Views
  • powerflash
    Community Member
    2 Posts

    newsletter module question Link to this post

    I edited the NewsletterRole.php file with this:

    * @package newsletter
    class NewsletterRole extends DataExtension {
       /*function extraStatics() {
          return array(
             'db' => array(
                'BlacklistedEmail' => 'Boolean'
             'has_many' => array(
                'UnsubscribedRecords' => 'UnsubscribeRecord'
       // after
       static $db = array("BlacklistedEmail" => "Boolean");
       static $has_many = array("UnsubscribedRecords" => "UnsubscribeRecord");

    but in admin area click on newsletter tab and page is empty

    thank you

Page: 1
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.