Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CKEditor: how to change skin?
#1
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
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#2
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.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
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
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#4
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 ... ;-)
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply




Users browsing this thread: 1 Guest(s)