Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Custom Plugins not working

Status Resolved
Add-on / Version
Severity Critical
EE Version 24

Rob Sanchez

Jan 11, 2013

I’m trying to add a custom plugin as per the docs, into the themes/third_party/wyvern/plugins/ folder.

Here’s what I get:

[CKEDITOR.resourceManager.load] Resource name "oembed" was not found at "/themes/third_party/ckeditor/plugins/oembed/plugin.js?t=D08E".

As you can see, CK is trying to load the plugin from the ckeditor directory instead of your custom directory. Even though you are using CKEditor.plugins.addExternal to load it, *I think* CK tries to load it again when you add the plugin name to editor.extraPlugins. Then it throws the error and the WYSIWYG never renders.

One more weird thing…
Even if I don’t load any custom plugins, I get this error on the publish page, similar to the error above:

[CKEDITOR.resourceManager.load] Resource name "video" was not found at "/themes/third_party/ckeditor/plugins/video/plugin.js?t=D08E".
#1

BoldMinded (Brian)

Rob, in the config.js file in the theme folder, comment out this line and see what happens.

CKEDITOR.plugins.addExternal(extra_plugins[i], wyvern_config.theme_url.replace('/wyvern', '/ckeditor')+'plugins/'+ extra_plugins[i] +'/', 'plugin.js');
#2

BoldMinded (Brian)

Removed this line in version 1.5.1

Login to reply