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.

We've moved the forum!

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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Disappearing WYSIWYG buttons


Go to End


8 Posts   2244 Views

Avatar
Andrew Houle

Community Member, 140 Posts

27 April 2010 at 2:20am

I'm running SS2.4rc1 and DOM rev 394, but for some reason all my WYSIWYG buttons disappear in the SimpleTinyMCEField text box. I did some trouble shooting and found that if I change from this Director::set_environment_type('live'); in mysite/_config to Director::set_environment_type('dev'); they reappear. This doesn't make any sense to me, and I certainly don't want to leave my site in dev mode. Has anyone else had this issue? Any suggestions?

Avatar
xeraa

Community Member, 58 Posts

3 May 2010 at 11:19am

Avatar
Andrew Houle

Community Member, 140 Posts

4 May 2010 at 1:22am

Thanks for the link, it's nice to know that I'm not the only one having this issue. Unfortunately I haven't seen a fix yet. Let me know if anyone finds something. I'll post what I find, if I can fix it.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

4 May 2010 at 3:21am

I just checked in a possible fix. Can you guys do some testing?

Avatar
Andrew Houle

Community Member, 140 Posts

4 May 2010 at 6:59am

woot! That worked, thanks UC.

Avatar
SSadmin

Community Member, 90 Posts

23 June 2010 at 12:06pm

Met the same issue with Andrew about the SimpleTinyMCEField.
The new released DOM fixed the bug.
Great work. :D

Cheers unclecheese.

Avatar
FungshuiElephant

Community Member, 57 Posts

3 July 2010 at 3:37am

I too have met the same issue.

I'm using SS2.4.0 and DOM 403.

Is there a later version than DOM 403? What was the version number that worked?

Avatar
FungshuiElephant

Community Member, 57 Posts

6 July 2010 at 2:14am

I did some digging and discovered that this seems to be caused when javascript files are combined. This happens in live mode but not in dev mode hence the behaviour others have observed that setting Director::set_environment_type('dev') in _config.php resolves the problem.

Adding
Requirements::set_combined_files_enabled(false);
also 'cures' this and allows you to have the site in 'live' mode.

It would be nice to discover what it is about the combination of the javascript files that kills it but I'm out of time on this for now.

(SS 2.4.0 and DOM 403)