Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Multiple Areas + blog + html edit = uh oh

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

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

Page: 1
Go to End
Author Topic: 1536 Views
  • thebestsophist
    Avatar
    Community Member
    7 Posts

    Multiple Areas + blog + html edit = uh oh Link to this post

    I am developing a site with multiple areas editable areas and a blog, and tend to do a lot of raw html since I need to do a lot of html that isn't as widely used.

    I don't have any issues when I am trying to use html edit in the different ares when editing normal page, however, I can only edit the html in one area and no the other, even when I specifically select one.

    Has anyone else had this issue? What can I do to help troubleshoot this quickly?

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Multiple Areas + blog + html edit = uh oh Link to this post

    The blog module disables tinymce (the text/html editor icons) in favour of using BBCode for posts. If you want to use the standard editor then you have to make sure you have a recent copy of the blog module (available off http://dailybuilds.silverstripe.com/modules-tarballs/) then you can add BlogEntry::allow_wysiwyg_editor(); in your mysite/_config.php file.

  • deejayh
    Avatar
    Community Member
    10 Posts

    Re: Multiple Areas + blog + html edit = uh oh Link to this post

    I Have the latest build. Everything works Ok. As soon as I edit my mysite/_config.php and add BlogEntry::allow_wysiwyg_editor(); and then do a ?flush=1 - the site breaks (500)

    I have to comment out the BlogEntry::allow_wysiwyg_editor();

    To be fair this has happened to many things I have to add to the mysite/_config.php. Seems to break the site!

    Regards,
    Dave

    1536 Views
Page: 1
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.