Jump to:

1855 Posts in 1609 Topics by 562 members

Blog Module

SilverStripe Forums » Blog Module » Blog holder page blank

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 950 Views
  • wackzingo
    Community Member
    1 Post

    Blog holder page blank Link to this post

    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\css\
    - mytheme\images\
    - mytheme\js\
    - - 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.

  • lanks
    Community Member
    61 Posts

    Re: Blog holder page blank Link to this post


    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


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.