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?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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?
If you're using the blog module available on SVN, you can use tinyMCE.
Simply add:
BlogEntry::allow_wysiwyg_editing();
to mysite/_config.php
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.
Excellent, thanks.
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!
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>
<p>$Content</p>
I think its the Parsed Content method might be the issue
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.
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.