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.


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

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

Image posting within the Blog module


8 Posts   2610 Views


18 February 2008 at 4:40am Community Member, 5 Posts

I'm experiencing some issues with posting images in the Blog module, simply put - it does not work. Inserting images works just fine on regular pages, but for BlogEntry pages the "Insert image" button does absolutly nothing.

Is this feature not supposed to be working for the Blog module or am I somehow doing something wrong? I'm doing this from the backend in order to get the formatting interface.


18 February 2008 at 8:00am Forum Moderator, 474 Posts

This doesn't work as the blog module uses BBCode, thus the WYSIWYG editor (which uses HTML) doesn't pick up the content field.


18 February 2008 at 11:55am Forum Moderator, 5511 Posts

Yea I find BBCode annoying. I prefer to just use the WSYIWYG editor. If you want to disable BBCode and go back to the editor add this line to your _config.php - BlogEntry::allow_wysiwyg_editing('true');


18 February 2008 at 8:23pm Community Member, 5 Posts

Willr, I get the following error when I try to access the site after adding the line to my _config.php:

Fatal error: Call to undefined method BlogEntry::allow_wysiwyg_editing() in (...)/mysite/_config.php on line 30

I've tried flushing and rebuilnd the db, but I get this error everywhere I go. Any suggestions besides removing it?


18 February 2008 at 10:14pm Forum Moderator, 5511 Posts

Sorry that method / feature must not be in the general 0.1 blog release. Check out the trunk version if you need that feature, it will probably be in there.


19 February 2008 at 8:22am Community Member, 5 Posts

I've installed the latest trunk version of the Blog module, and done /db/build?flush=1 and I'm still having some problems with this. On the main page, /blog it displays correctly, but when you try to read the full blog post the post is displayed with HTML code as part of the message, such as:
<u><em><strong>This is a test!<br /></strong></em></u>

In the WYSIWYG-editor it looks like "This is a test" in bold, itallic and underlined, same as it does on the front page. Any suggestions?


28 February 2008 at 10:45pm (Last edited: 28 February 2008 10:53pm), 49 Posts

What does your look like?


14 March 2008 at 2:42pm Community Member, 37 Posts

I recommend you check out this post to allow HTML instead of BBCode
Good on ya Anatol!