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.

Blog Module

Discuss the Blog Module.

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

Blog 2.4


Reply

12 Posts   2342 Views

Avatar
baba-papa

9 May 2010 at 10:39pm Community Member, 279 Posts

I updated a site to 2.4 and blog module 0.3 and found two issues that had to be fixed before the module worked correctly:
As I am using german language the blog/lang/de_DE.php didn´t work, because the en_US.php wasn´t included:
This code

i18n::include_locale_file('modules: blog', 'en_US');


has to be changed to this:

i18n::include_locale_file('blog', 'en_US');


The second issue: Somehow the static $allow_wysiwyg_editing is set to false. I had to change it to true, because my existing blog entries were created using wysiwyg.

Avatar
biapar

15 May 2010 at 12:10am Forum Moderator, 435 Posts

Is there a link to tar/zip file for 2.4?

Avatar
Blake_NiteoDesign

18 May 2010 at 7:30am Community Member, 17 Posts

Thanks Willr. The change described at http://open.silverstripe.org/changeset/99407/modules/blog/trunk works like a charm!

Avatar
theoldlr

21 May 2010 at 8:44am Community Member, 103 Posts

I have a new SS 2.4 installation with the latest trunk of the blog module. For some reason the Blog Management widget is always present no matter if I am logged in or not. If I am not logged in and click the 'post a new blog entry' link I get this error:

Action 'post' isn't allowed on class BlogHolder_Controller

If logged in it works as it should, but isn't the normal behavior that the blog management widget is not even present if not logged in?

Thanks!