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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Forum Module /

Discuss the Forum Module.

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

newsletter template is not shown


Go to End


5 Posts   1734 Views

Avatar
irmen

Community Member, 11 Posts

8 August 2014 at 5:54am

Edited: 08/08/2014 5:55am

hi I'm badly unfamiliar to silverstripe.
I copied the newsletter.ss which I found in "mysite/templates/email" and I saved it as newsletter-august.ss. I just added a special image. But apart from this it is identic to the newsletter.ss.
If I coose it in my new newlsetter-type and I make a new draft and klick on "Preview this newsletter" - nothing is shown!!

Can anybody tell me, what I forgot?
Or what I did wrong?
That what I understood to do from the documentation.

Thank you so much fpr an answer!
Irmen

Avatar
Kirk

Community Member, 67 Posts

8 August 2014 at 9:22am

Have you tried a flush as the SilverStripe templates are cached and need to be flushed when they are updated.
See the info from [ur]http://doc.silverstripe.org/framework/en/tutorials/1-building-a-basic-site

Flushing the cache

Whenever we edit a template file, we need to append ?flush=1 onto the end of the URL, e.g. http://localhost/your_site_name/?flush=1. SilverStripe stores template files in a cache for quicker load times. Whenever there are changes to the template, we must flush the cache in order for the changes to take effect.

Also it is always good to include the code you are using in the post so we can see if there is anything wrong.
Using something like http://www.sspaste.com/ is always good

Avatar
irmen

Community Member, 11 Posts

11 August 2014 at 11:19pm

Thank you very much, I didn't flush!
Irmen

Avatar
JasonLee

Community Member, 1 Post

16 February 2016 at 12:03am

I don't want to create another topic, so i will ask here. What type of HTML templates could i use with SIlverStripe ? I am using MS word newsletter templates. Should i order HTML templates or i could convert it ?

Avatar
mammutipanel

Community Member, 1 Post

19 July 2017 at 6:11pm

tnx i used it