Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Newsletter Templates


Go to End


2 Posts   15859 Views

Avatar
sarahk

Community Member, 46 Posts

5 June 2008 at 12:50pm

Edited: 05/06/2008 12:51pm

I'm feeling my way through this since some of the interfaces are different from the docs. They're pretty good though.
.
I've just created a basic template and put it in mysite/templates/email
when I view my newsletter type I can choose my new template from the dropdown list.
.
However when I go to send it fails and this is the error message I see via Firebug
.
ERROR:Error 512: None of these templates can be found: Skbasic.ss
At l74 in /home/sitename/domains/sitemame.co.nz/public_html/sapphire/core/SSViewer.php
Catchable fatal error: Method Newsletter_Email::__toString() must return a string value in /home/sitename/domains/sitename.co.nz/public_html/sapphire/core/Debug.php on line 311
.
Is this telling me there's a fault in my template or a bug in SS?
I'm using 2.2.2rc4

Avatar
sarahk

Community Member, 46 Posts

5 June 2008 at 2:03pm

Upgraded to 2.2.2 stable and the problem is gone... onto the next one ;)