Support

Home Forums Event Espresso Premium Editor broking with javascript error.

Editor broking with javascript error.

Posted: May 14, 2015 at 7:37 am


Zoe E

May 14, 2015 at 7:37 am

Hi we are running the latest version we have a plugin installed called Accordion Shortcodes.

The issue is when this plugin is enabled it causes the editor to brake and not work. this has happened on two websites now.

http://prntscr.com/72hvn6

http://prntscr.com/75195v

there two screenshots to see the erro that is happening.

https://wordpress.org/support/topic/accordion-shortcodes-javascript-error-stopping-editor-opening?replies=6#post-6949969

I have asked the person who made the plugin whats causing this issue but they can’t see the error as they only have the light version.

Is there anyway you can help solve this issue as that plugin is really good. or posting on that other forum to help the developer fix the issue.

Many thanks.


Josh

  • Support Staff

May 14, 2015 at 10:22 am

Hi Zoe,

You can make it so the Accordion Shortcode scripts load in the event editor (and other EE editors like venues) by opening up the accordion-shortcodes/tinymce/tinymce.php file and on line 15 where it has this:

foreach(array('post.php','post-new.php') as $hook) {

you change it to this:

foreach(array('post.php','post-new.php','toplevel_page_espresso_events') as $hook) {

This is kind of a quick and dirty hack, but it will help you get up and running with your site, and maybe it will help guide the Accordion plugin developer to a more robust solution.

The support post ‘Editor broking with javascript error.’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 4 years, 6 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.