Support

Home Forums Event Espresso Premium TinyMCE doesn't working at all EE Page

TinyMCE doesn't working at all EE Page

Posted: September 11, 2013 at 11:27 am


Deny Rahardjo

September 11, 2013 at 11:27 am

Hi,

Previously I wanted to say that your plugins is awesome.. Much of my need was resolved because of your great features :).. Thanks a lot..

But there is one thing.. TinyMCE is not working at all in all EE setting page..

There is javascript errors :
Error: TypeError: this.getDoc(…) is undefined
Source File: http://myme-tech.com/td/wp-includes/js/tinymce/tiny_mce.js?ver=358-23156
Line: 1

Error: TypeError: k is undefined
Source File: http://myme-tech.com/td/wp-includes/js/tinymce/tiny_mce.js?ver=358-23156
Line: 1

I’ve tried to deactivate all other plugins as well.. But no luck :(..

Please help.. I can provide you an admin access if you need to..

Thanks,
Deny

  • This topic was modified 10 years, 7 months ago by  Deny Rahardjo.


Josh

  • Support Staff

September 11, 2013 at 11:57 am

Hi Deny,

This is more than likely the active WordPress theme is loading its custom shortcode/MCE buttons into the event editor that is breaking this.

You can try downloading this “compatibility” plugin and install it to try to remove those:

https://github.com/joshfeck/remove-extra-editor-buttons


Deny Rahardjo

September 11, 2013 at 12:16 pm

Woaa.. Thanks Josh! It’s working now..

Thanks for your quick help.. You saved my day!


Deny Rahardjo

September 18, 2013 at 12:45 am

Hi Josh, sorry I make this topic to unresolved.. My client just notice that TinyMCE still not working is some area like (Manage Event Email, Email Settings, etc.. )..

Your compability plugins only solve the TinyMCE issue on Event Overview area, but not all..

Please advice..

Thanks,
Ronny


Dean

September 18, 2013 at 4:33 am

Hi,

If you change the code in that plugins main file to read like this

  if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'add_new_event' || $_REQUEST['action'] == 'edit') || $_REQUEST['action'] == 'add_new_email') || $_REQUEST['action'] == 'add_new_venue') || $_REQUEST['action'] == 'add_new_category')) {
		remove_all_filters('mce_buttons_3');
	}

It should work for the Email, Venue and Category managers. Honestly I couldnt figure out how to do it for the General Settings page, so that wont be affected by the pluign.


Deny Rahardjo

September 19, 2013 at 12:38 am

Hi Dean, thanks for your help.. Yes its fine now for email, venue and category :).. Hmm, there are 2 major features (Email Confirmation Settings) inside the General Settings, that will be needed by my client to set up :(..


Dean

September 19, 2013 at 1:28 am

Josh might know more about how to fix that, I’ll send him a mail to see if it is possible or not.


Josh

  • Support Staff

September 19, 2013 at 7:17 pm

You could remove the extra buttons everywhere:

remove_all_filters('mce_buttons_3');


Deny Rahardjo

September 20, 2013 at 1:31 pm

Hi Josh,

I still don’t understand.. So this mean no need to use if statement as described by Dean previously ?? Just ‘remove_all_filters(‘mce_buttons_3′);’ without if statement??

Thank you


Josh

  • Support Staff

September 20, 2013 at 3:11 pm

That is correct. Alternatively you could comment out:

remove_all_filters(‘mce_external_plugins’);

in /event-espresso/includes/functions/admin.php

This will make the buttons appear in the tinyMCE editor in Event Espresso, but they will not work. The upside to that is they won’t crash the editor.


Deny Rahardjo

September 24, 2013 at 9:54 pm

Greatt.. I think it works now.. I removed the if statements and still use ‘remove_all_filters(‘mce_buttons_3?);’…

Thanks for Dean & Josh, I will update this as resolved again..

Best,
Deny

The support post ‘TinyMCE doesn't working at all EE Page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso