#14 Gallery2 plugin tinyMCE event

open
nobody
None
5
2008-11-19
2008-11-19
Anonymous
No

If you don't have the tinyMCE plugin installed then the following error occurs when you try to save new settings for the plugin:
Fatal error: Call to a member function set_event_status() on a non-object in <path/to/b2evo>\inc\_misc\_plugin.class.php on line 2585

It would be a good idea to check whether this plug in is installed prior to the call to enable_event() like so.

$tinymcePlugin = $Plugins->get_by_classname('tinymce_plugin');
if (!empty($tinymcePlugin)) {
$this->enable_event('tinymce_before_init');
}

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks