Jump to:

1855 Posts in 1609 Topics by 562 members

Blog Module

SilverStripe Forums » Blog Module » No Blog Entries in Blog Holder

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 1050 Views
  • cdeangelus
    Avatar
    Community Member
    2 Posts

    No Blog Entries in Blog Holder Link to this post

    Hi there. I just installed the blog module. I haven't changed a thing. My SS installation has a BlogHolder page, and a single post under it. When I go to the BlogHolder page in my browser to look at it, there are no blog post listings. The page exists, and the content part of BlogHolder shows up, but the list of BlogEntries (in this case 1) does not.

    This is a fresh install of the blog module. I haven't changed a thing. Am I missing a flag or something?

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: No Blog Entries in Blog Holder Link to this post

    The blog holder in the tree on the left doesn't have a little plus icon next to it does it? Are you logged in as the admin user?

  • prawnstar
    Avatar
    Community Member
    116 Posts

    Re: No Blog Entries in Blog Holder Link to this post

    cdeangelus,

    Silly question...but...did you set up your blog by following these instructions: http://doc.silverstripe.org/modules:blog:installation?

    And now when you refresh you only see your default Page.ss?

    Being a newcomer to SS, I had the same issue until I discovered that the rest of the instructions should tell you to then go set up your /themes/blackcandy_blog themes. (Assuming you are using blackcandy, otherwise you'll edit /themes/yourtheme_blog.)

    Basically you need to create your BlogEntry.ss and BlogHolder.ss templates to display the blog on your site. Copy the code from:
    /blog/templates/layout/BlogHolder.ss
    /blog/templates/layout/BlogEntry.ss

    and put that code inside your newly created templates where you want the blog entries to show up:
    /themes/blackcandy/templates/BlogHolder.ss
    /themes/blackcandy/templates/BlogEntry.ss

    (note those paths)

    Good luck,
    Chris.b

    1050 Views
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.