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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

The Blog - adding to new custom theme .. help!




4 July 2009 at 12:42am (Last edited: 4 July 2009 12:50am), Community Member, 13 Posts

Hi Guys,

I am a bit at sea. I want to add a blog to my site:

I have followed Aram Balakjian tutorial at -

To set up just the side menu I used some code from the NATUREWEB4 Theme -

I think I have the basic site set up OK. I downloaded the BLOG extention, unzipped, uploaded same. Then I "dev/build?flush=1" my url above.

Now go here -

Note a warning error. I looked this up here at the forum and found that if I changed the SSVIEWER.PHP round line 277 from:

return file_get_contents(SSViewer::getTemplateFile($identifier));


return (SSViewer::getTemplateFile($identifier)) ? file_get_contents(SSViewer::getTemplateFile($identifier)) : '';

It gets rid of this error. THIS IS true, but then I am left with a BLANK CONTENT Area for the blog.

Could somebody PLEASE tell me the undocumented proceedure for adding a blog. LIKE it seems one also needs to add a "subtheme" for a blog:

Main theme is /abcd/
Blog Subtheme is /abcd_blog/

If one does not do this the blog reverts to the default overall to style?

So - what goes into the blog subtheme folder? Can one copy say the Blackcandy_blog subtheme and rename/use this for your own custom theme?

Though Maybe I have made a dogs dinner of this too, the way I have built the site :(