GetSimple Support Forum
CKEditor: how to change skin? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: CKEditor: how to change skin? (/showthread.php?tid=1491)



CKEditor: how to change skin? - Connie - 2011-03-30

I want to install other Editor Skin than default.
I see that there is a skin "getsimple" in admin/template/js/ckeditor/skins

I uploaded other skins from a default CKEditor-Installation: kama, office 2003 and silver to the same folder admin\template\js\ckeditor\skins

I defined in gsconfig.php:
Code:
define('GSEDITOROPTIONS', 'enterMode : CKEDITOR.ENTER_P','skin : kama');
with no effect

I defined
Code:
config.skin = 'office2003';
in the config.js, with no effect

where can I define the skin without editing any php-files beside config-files?

I know that other skins work, as I can edit the admin/edit.php

Code:
skin : 'office2003',
but I look for a better configuration-option


CKEditor: how to change skin? - mvlcek - 2011-03-30

Connie Wrote:I want to install other Editor Skin than default.
I see that there is a skin "getsimple" in admin/template/js/ckeditor/skins

I uploaded other skins from a default CKEditor-Installation: kama, office 2003 and silver to the same folder admin\template\js\ckeditor\skins

I defined in gsconfig.php:
Code:
define('GSEDITOROPTIONS', 'enterMode : CKEDITOR.ENTER_P','skin : kama');
with no effect

It must be (linefeeds are not needed, but don't hurt)
Code:
define('GSEDITOROPTIONS', "
  enterMode: CKEDITOR.ENTER_P,
  skin : 'kama'
");

The code within the double quotes is Javascript (a part of a definition of an associative array).
I'm assuming that CKEDITOR.ENTER_P is a Javascript variable/constant.


CKEditor: how to change skin? - Connie - 2011-03-30

you are great. thank you!
Never in my life will I get accustomed to this orgy of singlequotes and doublequotes ;=)

It works and I must not edit edit.php, great!

Have a nice evening, Connie


CKEditor: how to change skin? - mvlcek - 2011-03-30

Connie Wrote:Never in my life will I get accustomed to this orgy of singlequotes and doublequotes ;=)

And you could also use 'skin:"kama"' or 'skin:\'kama\'' or "skin:\"kama\"" and then ask yourself, whether these are two single quotes or rather a double quote or ... ;-)