Jump to:

10842 Posts in 2513 Topics by 1792 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: 142 Views
  • powerflash
    Avatar
    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

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