Elxis CMS Forum
Support => Technical support => Topic started by: Amigamerlin on May 18, 2016, 14:55:56
-
Ciao Datahell, hello to you all,
is there any way to can add Plugin in Elxis 4.4 CKEditor?
I would like to can add table background on my Elxis 4.4 but following the instruction gave from ckeditor site I was not able to do this.
Here what I've done:
I've extracted the contents of the zip in plugins directory, so it ends up like this
ckeditor\
...
images\
lang\
plugins\
...
backgrounds\
plugin.js
readme.html
docs\
...
skins\
themes\
After I've added in config.js the string:
config.extraPlugins='backgrounds';
as suggested.
I've followed the instruction as gave by CKEditor site but it's not working.
Anyone can help ?
Thank you you all.
-
You use wrong configuration file, config.js is not used by Elxis.
Elxis has the following configuration files for CKEditor:
HTML EDITOR
config_full.js (for users with access level from 70 to 100 - Managers and Administrators)
config_normal.js (for users with access level from 2 to 69 - Users, Authors and Publishers)
config_mini.js (for users with access level from 0 to 1 - Guests and External users)
BBCODE EDITOR
config_bbcode_full.js (for users with access level from 70 to 100 - Managers and Administrators)
config_bbcode_normal.js (for users with access level from 2 to 69 - Users, Authors and Publishers)
config_bbcode_mini.js (for users with access level from 0 to 1 - Guests and External users)
Note
The CKEditor in Elxis CMS is controlled by the helper class "editor" (includes/libraries/elxis/helpers/editor.helper.php)
$editor = eFactory::getElxis()->obj('editor');
-
You use wrong configuration file, config.js is not used by Elxis.
Elxis has the following configuration files for CKEditor:
HTML EDITOR
config_full.js (for users with access level from 70 to 100 - Managers and Administrators)
config_normal.js (for users with access level from 2 to 69 - Users, Authors and Publishers)
config_mini.js (for users with access level from 0 to 1 - Guests and External users)
BBCODE EDITOR
config_bbcode_full.js (for users with access level from 70 to 100 - Managers and Administrators)
config_bbcode_normal.js (for users with access level from 2 to 69 - Users, Authors and Publishers)
config_bbcode_mini.js (for users with access level from 0 to 1 - Guests and External users)
Note
The CKEditor in Elxis CMS is controlled by the helper class "editor" (includes/libraries/elxis/helpers/editor.helper.php)
$editor = eFactory::getElxis()->obj('editor');
Thank you Datahell !!! :), Precious as always !!!
Now all works correctly !!!
Ciao
PS. Please Datahell, can you include this plug-in by default in your next ELXIS release?
Thank you again.
-
+1 :)