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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Blog module, front end not work (blank page)


Go to End


8 Posts   3047 Views

Avatar
imsas

Community Member, 22 Posts

16 October 2008 at 10:39pm

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.

Avatar
eskimo

Community Member, 30 Posts

23 October 2008 at 1:26am

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

Avatar
eskimo

Community Member, 30 Posts

23 October 2008 at 10:06pm

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 :D) or has no solution yet been found to this problem?

Any help would be greatly appreciated.

Cheers one and all.

Avatar
BLU42 Media

Community Member, 71 Posts

24 October 2008 at 5:23pm

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!

Avatar
eskimo

Community Member, 30 Posts

28 October 2008 at 2:00am

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?

Avatar
BLU42 Media

Community Member, 71 Posts

28 October 2008 at 6:19am

Edited: 28/10/2008 6:21am

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!

Avatar
eskimo

Community Member, 30 Posts

29 October 2008 at 5:04am

That worked! Your a legend!

Cheers

Avatar
BLU42 Media

Community Member, 71 Posts

29 October 2008 at 8:45am

Hi-

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

-John