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.

Archive

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

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

The Blog Module


Go to End
Reply

9 Posts   4042 Views

Avatar
Agent

27 April 2008 at 3:53pm (Last edited: 27 April 2008 3:57pm), Community Member, 2 Posts

I am new to SilverStripe and I like the blog module but why does it only use bbcode? Why can I not write a blog post in full html using tinymce editor?

Also how about some categories for these blog posts?

Avatar
simon_w

27 April 2008 at 4:31pm Forum Moderator, 474 Posts

If you're using the blog module available on SVN, you can use tinyMCE.

Simply add:

BlogEntry::allow_wysiwyg_editing();

to mysite/_config.php

Avatar
Willr

27 April 2008 at 6:17pm Forum Moderator, 5511 Posts

Also how about some categories for these blog posts?

How do you mean categories?? you can tag a blog post then users will be able to browse by tag which you can use as categories for your posts.

Avatar
Agent

28 April 2008 at 1:08am Community Member, 2 Posts

Excellent, thanks.

Avatar
brb5548

21 June 2008 at 3:10am (Last edited: 21 June 2008 3:23am), Community Member, 17 Posts

I just downloaded the latest daily build from svn for the blog module so that I could use the above mentioned TinyMCE editor. Everything works fine and I have updated the mysite/_config.php file and I can make edits that show properly on the main blog page but when I try to view the "full post" all of the content in the blog posting are displayed with the html tags. Does anyone have any idea why this would happen?
Thanks!

Avatar
Willr

21 June 2008 at 10:15am Forum Moderator, 5511 Posts

Open up the blogEntry.ss file. - It will be in your current theme - /themes/blackcandy_blog/templates/Layout/BlogEntry.ss OR if its not in your current theme it will be in /blog/templates/Layout (The template parser looks for your custom theme, then defaults to the default file provided)

Then find the

<p>$ParsedContent</p>


and change that to just

<p>$Content</p>

I think its the Parsed Content method might be the issue

Avatar
brb5548

21 June 2008 at 11:39am Community Member, 17 Posts

that fixed it... I changed $Content.Parse(BBCodeParser) to $Content
I should have caught that. Thanks for your help. Next time I am in Wellington I will have to buy you a beer... thanks again.

Avatar
amccarty

12 November 2008 at 7:47am Community Member, 2 Posts

I'm using blog module for newsletters right now, and could really use some structured categorization on the postings. I realize this isn't in the spirit of blogging, but if an author could select from a predefined list of tags, a filter on specific postings could be much more effective (no more misspellings, typos, etc.). If others have solved this problem using an alternate solution, please let me know.

Go to Top