Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Upgrade to CKEDITOR 4.5.7 with GS version 3.3.9
#1
This is an information for users of advanced configuration of the editor, like it is described in the WIKI (using custom config file and "define('GSEDITOROPTIONS')" in the gsconfig.php

If configured to use a different skin for the editor, you have to do change the configuration.

a)
the skins have to be updated, the "old" skins are not compatible
you will find the actual skins at http://ckeditor.com/addons/skins/all

download the one you want, extract the zip

delete the custom skin files at the server in the folder /admin/template/js/ckeditor/skins
upload the skin-folder to /admin/template/js/ckeditor/skins

b)
now modify the following in gsconfig.php, you have to delete the last part, ",skin:'name of the skin' must be deleted


Code:
define('GSEDITOROPTIONS', "entities : false,forceSimpleAmpersand:true,customConfig : '../../../../theme/gs.js',skin:'kama'");


Code:
define('GSEDITOROPTIONS', "entities : false,forceSimpleAmpersand:true,customConfig : '../../../../theme/gs.js'");


c) now you have to add a new configuration in the customConfig-file (if you have, if you have not read the WIKI):


Code:
CKEDITOR.editorConfig = function( config )

{
    config.toolbarCanCollapse = true,
    config.enterMode = CKEDITOR.ENTER_P,
    config.shiftEnterMode = CKEDITOR.ENTER_BR,
    config.colorButton_enableMore = true,
    config.bodyId = 'content',
    config.entities = false,
    config.forceSimpleAmpersand = false,
    config.fontSize_defaultLabel = '12px',
    config.font_defaultLabel = 'Arial',
    config.font_names = 'Arial/Arial, Helvetica, sans-serif;' +  'Times New Roman/Times New Roman, Times, serif;' +  'Verdana;'
    config.emailProtection = 'encode',
    config.contentsLangDirection = 'ltr',
    config.language = 'de',
    config.contentsLanguage = 'de',
    config.toolbarLocation = 'top',
    config.browserContextMenuOnCtrl = false,
    config.extraPlugins = 'fileicon,video,youtube,templates',
    config.syntaxhighlightLangDefault = 'php',
    config.skin = 'minimalist',
    config.templates_replaceContent = false,
    config.toolbar_Full.push(['Code'])
    };

the above code is an example, I added here the line:
config.skin = 'minimalist', to use the skin "minimalist" which I downloaded before

d)
Last step:
clear your browsers cache
log into GetSimple admin
go to "Settings"
clear the GS cache
create a new page, you should see the new skin
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
Upgrade to CKEDITOR 4.5.7 with GS version 3.3.9 - by Connie - 2016-04-22, 16:44:47



Users browsing this thread: 1 Guest(s)