3217 Posts in 853 Topics by 812 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1730 Views |
-
[SOLVED] Email template (Just forgot about flush)

12 July 2010 at 9:35am Last edited: 12 July 2010 9:43am
Hello, I'm trying to set email template, but getting this error:
[User Warning] None of these templates can be found in theme 'newcastle': Invoice.ss
i tried to put template in all templates subfolders and tried to create folder email and put it inside, besides that i found article here http://doc.silverstripe.org/email and tried to put it inside mysite/templates/email
ContactHolder_Controller:
$email = new Email();
$email->setTemplate('Invoice'); -
Re: [SOLVED] Email template (Just forgot about flush)

14 October 2010 at 2:23pm
Have met the same problem and after flush the cache then it works.
-
Re: [SOLVED] Email template (Just forgot about flush)

22 May 2012 at 2:23am
i have to put the email template to
themes/mytheme/templates/Email/myemailtemplate.ss
to work. Aram also confirmed this: http://www.ssbits.com/newbies/2010/creating-a-simple-contact-form/
| 1730 Views | ||
|
Page:
1
|
Go to Top |



