Posts: 3
Threads: 1
Joined: Sep 2014
2014-09-03, 07:46:52
(This post was last modified: 2014-09-03, 07:48:50 by alienillusions.)
Need some more control over the content with more options in the ckeditor, so, I followed the instructions here: http://get-simple.info/wiki/how_to:edito...or_options
Downloaded the ckeditor, and uploaded the 'moono' skin. Added this to the config:
PHP Code: # WYSIWYG Editor Options define('GSEDITOROPTIONS',"skin : 'moono', enterMode: CKEDITOR.ENTER_P, shiftEnterMode : CKEDITOR.ENTER_BR, fontSize_defaultLabel : '11px', font_defaultLabel : 'Verdana', font_names : 'Arial;Times New Roman;Verdana', toolbarCanCollapse : true, colorButton_enableMore : true, entities : false ");
In the admin area, its just a blank white space where the editor should be. No errors, rest of the page is loaded, but nothing where the editor should go. Running latest version of Get Simple (v3.3.3).
How do I solve this problem?
Thanks.
Posts: 6,266
Threads: 181
Joined: Sep 2011
works fine withtout the skin:moono part
skin.js is probably missing
check your console
Posts: 3
Threads: 1
Joined: Sep 2014
Added in the skin.js from the getsimple skin for the ckeditor, but still nothing. Edited it and changed the 'getsimple' references to moono but no luck after that either.
What do you mean by "works fine withtout the skin:moono part" ?? Surely thats required in the config for the CMS to load up the correct ckeditor skin?
Posts: 6,266
Threads: 181
Joined: Sep 2011
I put this in gsconfig
PHP Code: # WYSIWYG Editor Options define('GSEDITOROPTIONS', enterMode: CKEDITOR.ENTER_P, shiftEnterMode : CKEDITOR.ENTER_BR, fontSize_defaultLabel : '11px', font_defaultLabel : 'Verdana', font_names : 'Arial;Times New Roman;Verdana', toolbarCanCollapse : true, colorButton_enableMore : true, entities : false ");
And my editor works fine, in both 3.3.3 and patch_cke branches
not sure what you mean by
"Downloaded the ckeditor, and uploaded the 'moono' skin"\
3.3.3 comes with cke 3.x
patch_cke version comes with cke 4.5.2 i think and moono color is the default skin
Posts: 3
Threads: 1
Joined: Sep 2014
(2014-09-05, 23:49:17)shawn_a Wrote: I put this in gsconfig
PHP Code: # WYSIWYG Editor Options define('GSEDITOROPTIONS', enterMode: CKEDITOR.ENTER_P, shiftEnterMode : CKEDITOR.ENTER_BR, fontSize_defaultLabel : '11px', font_defaultLabel : 'Verdana', font_names : 'Arial;Times New Roman;Verdana', toolbarCanCollapse : true, colorButton_enableMore : true, entities : false ");
And my editor works fine, in both 3.3.3 and patch_cke branches
Just that works fine (although its missing the opening " before 'entermode'.) If I put in the skin : 'moono', then it doesn't work.
(2014-09-05, 23:49:17)shawn_a Wrote: not sure what you mean by
"Downloaded the ckeditor, and uploaded the 'moono' skin"\
3.3.3 comes with cke 3.x
patch_cke version comes with cke 4.5.2 i think and moono color is the default skin
I went to the ckeditor site to download the ckeditor to get some skins, as was suggested the way to do it on this page: http://get-simple.info/wiki/how_to:edito...or_options in these steps:
1. CKeditor comes with three skins: kama, office2003 and v2. GetSimple does not use these, but uses it's own skin, getsimple
2. If you haven't done yet, download CKEditor from http://ckeditor.com/download and unpack it to your local harddisk.
3. Open the directory ckeditor/skins and upload the skin which you want to use to your GetSimple-directory at the server: your_getsimple_installation/admin/template/js/ckeditor/skins
edit the configuration, gsconfig.php and re-upload it to your server.
Posts: 90
Threads: 5
Joined: Oct 2015
Hi, is there an easy way to tell the toolbar to show labels ?
Like this :
# WYSIWYG Editor Options
define('GSEDITOROPTIONS',
show_Label : 'TRUE',
");
I mean, i don"t want to add style, for example: label{display:inline} to the Head of the document.
Thanks
Posts: 6,266
Threads: 181
Joined: Sep 2011
not that i know of, maybe there is a plugin ?
You could make one fairly easily, a gs or a ckeditor plugin.
|