1842 Posts in 1600 Topics by 558 members
|Go to End|
25 August 2011 at 1:47pm Last edited: 25 August 2011 6:29pm
I apologize in advance if I'm missing something obvious but I just started using SilverStripe a few days ago.
I created a theme using my own template. It's simple with just the base_tag and $content and $form variable/tags. The structure looks like this:
- - mytheme\templates\
- - templates\Page.ss
When using the blackcandy as the default theme for the site, the blog page appears to work fine. However, when I switch to my theme and select the blog link from the menu, the blog holder page is blank. I noticed the ReadMe page says the blog module is setup to use the \themes\blackcandy_blog\ directory by default. What do I need to do to make the blog work with my theme?
Thanks in advance.
23 September 2011 at 6:38pm
If your new theme must have the templates for the blog module. If you look inside \themes\blackcandy_blog\ you will see all of the standard blog templates that you must have for your custom theme.
The standard way to do this would be to create a directory inside themes called \themes\mytheme_blog\.
When you say blank if you mean the whole page is completely white then this means that there is an error. To view the error message check out the "white screen of death" at LeftandMain.com here
|Go to Top|