Jump to:

10931 Posts in 2614 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Newsletter URL

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2920 Views
  • mi3ll
    Avatar
    Community Member
    23 Posts

    Re: Newsletter URL Link to this post

    No idea why it would give an error (by the way, I just changed the Newsletter_Email class and Page class, removed the extra forward slash in the ViewNewsletter/ link, the one before ViewNewsletter [ie. old = /ViewNewsletter/; new = ViewNewsletter). It hasnt given an error for me. What version of the newsletter module are you using? Are you in 2.4 or 2.3?

    Does firebug give you an error? try using the firebug add-on for firefox, and when you send it should have some error details show up if you have it enabled.

    I also added another change for a the NewsletterEmailProcess.php class, check previous post for changes.

    In NewsletterEmailProcess.php replace the following line:

    $e = new Newsletter_Email($this->nlType);

    With this:

    $e = new Newsletter_Email($this->nlType, $this->newsletter);

    This might fix your problem, but I'm not sure...

    NOTE: If you will use the extend subscription page option, yes it's better to remove it the code from the Page_Controller class, and add it to your new Class controller

  • speedofmac
    Avatar
    Community Member
    10 Posts

    Re: Newsletter URL Link to this post

    Maybe I was doing something wrong, but is there a way to make these newsletters available outside of the admin area or without logging in?

    2920 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.