Jump to:

1835 Posts in 1139 Topics by 554 members

Blog Module

SilverStripe Forums » Blog Module » blog module not working

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 1691 Views
  • Nivanka
    Avatar
    Community Member
    395 Posts

    blog module not working Link to this post

    I am not sure what is my error, on my local server the blog module works fine, but when I install it on my production server it doesn't display anything. Can some one look in to this?

    and my url is http://whynotonline.com/blog/

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: blog module not working Link to this post

    I figured out the issue,

    it was the BlogSummary.ss, there $ParagraphSummary was causing the error,

    what I did is I just replaced $ParagraphSummary with $Content.FirstParagraph

  • burgessb
    Avatar
    Community Member
    17 Posts

    Re: blog module not working Link to this post

    Hi nivanka,
    I had the same issue, and used your fix. It fixed my blog holder page, but when I click on an entry, I now get the same problem I had with the blog holder page. I don't see where the same exact error exists for the other ss files. Did you have any problems with your entries, and if so, what did you do to fix them?

    Thank you for your time!

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: blog module not working Link to this post

    Nope I didnt get any error other than the one I mentioned.

    Just look into the template files and see if you can find where the error is. Just remove the content of the templates, and try adding one by one, you will be able to find it like that.

  • burgessb
    Avatar
    Community Member
    17 Posts

    Re: blog module not working Link to this post

    Thanks for the advice Nivanka! I figured out the error. In the BlogEntry.ss file, this line was mssed up:

    <p>$Content.Parse(BBCodeParser)</p>

    The solution should have been obvious, but I didn't notice... It is:

    <p>$Content.Parse('BBCodeParser')</p>

    Thanks again Nivanka!

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: blog module not working Link to this post

    Yeah, sometimes simple things make a huge mess

    Nice one that you figured it out.

  • Boundbystars
    Avatar
    Community Member
    4 Posts

    Re: blog module not working Link to this post

    Guys I still can't figure this one out... It works in my local test site but once we go live it craps the bed. Has anybody got this working?

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: blog module not working Link to this post

    If you have installed the blog module successfully, try with editing the BlogSummary.ss or the $Content.Parse('BBCodeParser') as mentioned by me and burgessb.

    1691 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.