Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Blog module, front end not work (blank page)

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 2500 Views
  • imsas
    Avatar
    Community Member
    22 Posts

    Blog module, front end not work (blank page) Link to this post

    Some problems with blog module.
    -Install corret.
    -CMS editing working correctly.

    Front end page blog holder and blog entries showing blank.

    I spend 2 days and dont fing problem (wamp on my local mashine work good, but hosting somethink wrong and I not find it Hosting name Mediatemple.net).

    Please help me.

  • eskimo
    Avatar
    Community Member
    30 Posts

    Re: Blog module, front end not work (blank page) Link to this post

    I'm having the exact same problem. Anybody have any clues as to whether this is permission problem or something?

  • eskimo
    Avatar
    Community Member
    30 Posts

    Re: Blog module, front end not work (blank page) Link to this post

    I do hate to be a pain, but it seems a few people have had this problem and I don't think I've seen a single post where it has been rectified. Am I just being dumb (there is always that chance ) or has no solution yet been found to this problem?

    Any help would be greatly appreciated.

    Cheers one and all.

  • BLU42 Media
    Avatar
    Community Member
    71 Posts

    Re: Blog module, front end not work (blank page) Link to this post

    I had the blog working perfectly on my local machine, uploaded to the production site and poof! ... no more blog. In my case, I found there was an issue with bbcode. I added this to my _config.php file:

    BlogEntry::allow_wysiwyg_editing();

    Then it started working again. I'm not sure if that might meet your needs, but thought I would share anyway.

    Good luck!

  • eskimo
    Avatar
    Community Member
    30 Posts

    Re: Blog module, front end not work (blank page) Link to this post

    I hope it does work, I've not been getting a huge amount of help on the problem.

    Where abouts in the code should I insert the statement?

  • BLU42 Media
    Avatar
    Community Member
    71 Posts

    Re: Blog module, front end not work (blank page) Link to this post

    Hi-

    I gave you an incomplete answer... so let's try this instead (sorry for any confusion)!

    According to the boards here, the blog module is sometimes having an issue with certain servers, especially when going Live (just what everyone wants!), so I've found this combination to work well:

    Try this first:
    1. Adjust the BlogEntry.ss file in your /<theme>_blog/templates/Layout folder where it says <p>$Content.Parse(BBCodeParser)</p>. Change this line to:

    <p>$ParsedContent</p>

    Then flush the cache and reload...

    If that doesn't work, then try removing the bbcode calls:

    1. Gather the latest blog module build tarball from Daily Builds so you can set up wysiwyg editing.

    2. Put this in your _config.php file:

    BlogEntry::allow_wysiwyg_editing();

    3. Adjust the BlogEntry.ss file in your themes folder as described above. You should also remove the <p> tags. Be sure (again) to flush the cache.

    Let us know how that works out for you. Hope it helps!

  • eskimo
    Avatar
    Community Member
    30 Posts

    Re: Blog module, front end not work (blank page) Link to this post

    That worked! Your a legend!

    Cheers

  • BLU42 Media
    Avatar
    Community Member
    71 Posts

    Re: Blog module, front end not work (blank page) Link to this post

    Hi-

    Glad to hear it worked out for you. Which variation did you end up using?

    -John

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