Jump to:

11003 Posts in 2735 Topics by 1824 members

All other Modules

SilverStripe Forums » All other Modules » Newsletter module on 2.4

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1502 Views
  • dendeffe
    Avatar
    Community Member
    135 Posts

    Newsletter module on 2.4 Link to this post

    Hi,

    I just tried the newsletter module on 2.4 and have a few questions.

    * When previewing a newsletter, I get an error about the template. Any ideas?
    [User Warning] None of these templates can be found in theme '': test.ss

    * When adding a subscription page, I get this error: ERROR [Warning]: Missing argument 2 for CheckboxSetWithExtraField::setValue(), called in /Users/stijndelathouwer/Dropbox/projects/newsletter/sapphire/forms/FormField.php on line 78 and defined
    IN POST /admin/getitem?ID=5&ajax=1
    Line 237 in /Users/stijndelathouwer/Dropbox/projects/newsletter/newsletter/code/CheckboxSetWithExtraField.php

    * Any tips on automatically adding the latest blog posts to a template? It would also be handy if the client could decide to include it or not.

    * How about capacity?

  • MarcusDalgren
    Avatar
    Community Member
    288 Posts

    Re: Newsletter module on 2.4 Link to this post

    Just tried it out and I'm getting the same error. Open up CheckboxSetWithExtraField.php and scroll down to line 237. Change the function definition for setValue to function setValue($val, $data = null){ and you won't be getting the error any more. I am not getting any errors when previewing.

    When it comes to adding stuff to the newsletter like the latest blog posts and stuff like that it gets rather messy. It's doable (I've done it for some of my clients) but you'll have to hack NewsletterAdmin.php and BatchProcess.php to get everything to work.

    Sadly the only development that seems to happen with the newsletter module is compability upgrades when new releases of SilverStripe arrive and apparently everything is not working properly.

    I've no idea about capacity but if you're going to send alot of newsletters then going with an external provider like Mailchimp will probably suit you alot better.

  • dendeffe
    Avatar
    Community Member
    135 Posts

    Re: Newsletter module on 2.4 Link to this post

    Yes, I’m actually trying to convince my client to go with MailChimp (it also has an option to send RSS (news) every week).

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