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

Multiple Areas + blog + html edit = uh oh


Reply


3 Posts   1610 Views

Avatar
thebestsophist

Community Member, 7 Posts

23 August 2008 at 8:05am

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?

Avatar
Willr

Forum Moderator, 5513 Posts

23 August 2008 at 12:02pm

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.

Avatar
deejayh

Community Member, 10 Posts

22 November 2008 at 12:37pm

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