Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Disappearing WYSIWYG buttons

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 1252 Views
  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Disappearing WYSIWYG buttons Link to this post

    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?

  • xeraa
    Avatar
    Google Summer of Code Hacker
    58 Posts
  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Disappearing WYSIWYG buttons Link to this post

    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.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Disappearing WYSIWYG buttons Link to this post

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

  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Disappearing WYSIWYG buttons Link to this post

    woot! That worked, thanks UC.

  • SSadmin
    Avatar
    Community Member
    90 Posts

    Re: Disappearing WYSIWYG buttons Link to this post

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

    Cheers unclecheese.

  • FungshuiElephant
    Avatar
    Community Member
    57 Posts

    Re: Disappearing WYSIWYG buttons Link to this post

    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?

  • FungshuiElephant
    Avatar
    Community Member
    57 Posts

    Re: Disappearing WYSIWYG buttons Link to this post

    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)

    1252 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.