Support

Home Forums Pre-Releases EE4 Event Description field disabled

EE4 Event Description field disabled

Posted: February 24, 2014 at 7:13 pm


Catherynne Mattar

February 24, 2014 at 7:13 pm

Hi guys. EE4 looks great and I’m looking forward to using it. However, the Event Description field is disabled. This occurred in EE3 and you discovered it was a conflict between EE and part of the Nevada theme we use. I believe it was in the file wp-content/themes/nevada/lambda/tinymce/lambda.tinymce.class.php and the modified code was the && $_GET['page'] != 'events' in the following section:


function lambda_tiny() {
if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') ) {
return;
}

if ( get_user_option('rich_editing') == 'true' && $_GET['page'] != 'events' ) {
add_filter( 'mce_external_plugins', 'add_js_plugin' );
add_filter( 'mce_buttons_3', 'register_lambda_tinymce_buttons' );
}
}
add_action('init', 'lambda_tiny');

So it looks like EE4 is conflicting somewhere else. Not being a developer, I don’t want to get into a code compliancy argument (ow, my head!), so are you able to give me any pointers on where I should look, or what I should do, to enable the Description field in EE4?

Thanks very much ๐Ÿ™‚


Josh

  • Support Staff

February 24, 2014 at 7:20 pm

Hi there,

I have a copy of the Nevada theme and if this is what I think it is, it’s some leftover code from ee3 that we’ve removed in what will be the next version of Event Espresso 4 that will be released.

You can remove the same line of code if you’d like to try it. It’s line 1537 of core/admin/EE_Admin_Page.core.php which reads:

remove_all_filters('mce_external_plugins');


Catherynne Mattar

February 24, 2014 at 8:16 pm

Hi Josh

You’re spot on – I commented out that line and hey presto! It worked! Thanks very much for such a speedy response. I’ll continue playing with EE4 ๐Ÿ™‚

The support post ‘EE4 Event Description field disabled’ 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