Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » The Blog Module

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

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

Page: 1 2
Go to End
Author Topic: 4023 Views
  • Agent
    Avatar
    Community Member
    2 Posts

    The Blog Module Link to this post

    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?

  • simon_w
    Avatar
    Forum Moderator
    473 Posts

    Re: The Blog Module Link to this post

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

    Simply add:

    BlogEntry::allow_wysiwyg_editing();

    to mysite/_config.php

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: The Blog Module Link to this post

    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.

  • Agent
    Avatar
    Community Member
    2 Posts

    Re: The Blog Module Link to this post

    Excellent, thanks.

  • brb5548
    Avatar
    Community Member
    17 Posts

    Re: The Blog Module Link to this post

    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!

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: The Blog Module Link to this post

    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

  • brb5548
    Avatar
    Community Member
    17 Posts

    Re: The Blog Module Link to this post

    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.

  • amccarty
    Avatar
    Community Member
    2 Posts

    Re: The Blog Module Link to this post

    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.

    4023 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.