10446 Posts in 2223 Topics by 1719 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1336 Views |
-
Newsletter module on 2.4

8 July 2010 at 12:54am Last edited: 8 July 2010 12:55am
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?
-
Re: Newsletter module on 2.4

9 July 2010 at 11:10am Last edited: 9 July 2010 11:12am
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.
-
Re: Newsletter module on 2.4

9 July 2010 at 5:44pm
Yes, I’m actually trying to convince my client to go with MailChimp (it also has an option to send RSS (news) every week).
| 1336 Views | ||
|
Page:
1
|
Go to Top |


