17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 3726 Views |
-
The Blog Module

27 April 2008 at 3:53pm Last edited: 27 April 2008 3:57pm
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?
-
Re: The Blog Module

27 April 2008 at 4:31pm
If you're using the blog module available on SVN, you can use tinyMCE.
Simply add:
BlogEntry::allow_wysiwyg_editing();
to mysite/_config.php
-
Re: The Blog Module

27 April 2008 at 6:17pm
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.
-
Re: The Blog Module

21 June 2008 at 3:10am Last edited: 21 June 2008 3:23am
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! -
Re: The Blog Module

21 June 2008 at 10:15am
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
-
Re: The Blog Module

21 June 2008 at 11:39am
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. -
Re: The Blog Module

12 November 2008 at 7:47am
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.
| 3726 Views | ||
| Go to Top | Next > |



