Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to have full toolbar on ckeditor ?
#1
hi all !

I read all the doc on ckeditor but I don't understand how to have full option in the ckeditor toolbar. I know I have to make modification in gsconfig.php especially in define('GSEDITORTOOL', 'advanced'); but I don't know how.

Has someone can help me please ?

Thanks
Reply
#2
did you really read the descriptions in the WIKI?

I think I described as best as I can and you are the first who says that you don't understand how to do it ;=(
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
#define('GSEDITORTOOL', 'advanced');
uncomment the tick tack toe sign. In other words remove this # from the line of code.
http://get-simple.info/wiki/how_to:editor_configuration
Todo arde si le aplicas la chispa adecuada.
Reply
#4
# WYSIWYG Editor Options
#define('GSEDITOROPTIONS', '');
Remove the # and add your desired features here. Consult the wiki for available features.
Todo arde si le aplicas la chispa adecuada.
Reply
#5
sorry I think I misspoke!

I uncommented the line and set the option to "advanced", that's ok. What I want is to have the "full" toolbar (http://docs.cksource.com/CKEditor_3.x/De...de/Toolbar first example) . I have read several times the wiki on this subject and made several test but failed to obtain the complete toolbar, hence my request for help.

I don't know how to find all the parameters needed to have the full toolbar like horizontal line and other feature. Perhaps need i to upgrade Ckeditor to the last version to have all features ?
Reply
#6
it seems, that you did not read all, as you oversaw the chance to define a custom configuration

well, the link you gave is wrong, otherwise I would have checked that and helped you out.
Give the correct link and I will try to define that for you, this afternoon, ok?
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#7
The link is http://docs.cksource.com/CKEditor_3.x/De...de/Toolbar

If it's explained how to have all features, I'll read it one more time and try one more time ...

Thanks
Reply
#8
I asked you for the link to see which elements you want to have

this comes close to what you want to have:
Code:
# WYSIWYG toolbars (advanced, basic or [custom config])
#define('GSEDITORTOOL', 'advanced');
define('GSEDITORTOOL',"['Source','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','Find','Replace','-','SelectAll','RemoveFormat'],
    '/',
    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
    ['TextColor','BGColor','-','Rule','PageBreak'],['NumberedList','BulletedList','-','Outdent','Indent'],
    '/',
    ['Blockquote','-','Smiley'],['Link','Unlink','Anchor'],
    ['Image','Flash','Table','HorizontalRule'],    '/',
    ['Styles','Format','Font','FontSize'],['ShowBlocks']
    ");

add this to your gsconfig.php
if some of the icons do not work, it means that these CKEditor-Plugins are missing in the standard integration in GetSimple
tell me which don't work and I will copy them for you

the reason that you don't understand how to do it is because CKEditor created a new way to define the tool bars, as listed at the bottom of the page:
Quote:Please note that the toolbar definition was changed in CKEditor 3.6, when a concept of toolbar button groups was introduced. This feature is WAI-ARIA compliant and important for accessibility support, so we recommend to upgrade custom definitions created for previous versions and follow the new standard described above.

However the notation which I used works ok
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#9
Ok ! big thanks for your help !

some icons remain gray but operate :

blockquote and showblock

thank you again for your help and sorry I bored with my problem!
Reply
#10
well, if some icons show grey, that is because of the skin you use
the standard skin for the editor has some weak icons

if you switch to other skin you would get really colored icons

I am glad I could help!

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#11
(2012-01-28, 03:41:53)Connie Wrote:
Connie said : Wrote:well, if some icons show grey, that is because of the skin you use
the standard skin for the editor has some weak icons

if you switch to other skin you would get really colored icons

Hello Connie and thanks for support, i'm new at GetSimple. 

I have done advanced ckeditor successfully but i can't get a new skin, even when i follow exactly the wiki about skin : http://get-simple.info/wiki/how_to:edito...re_options

I even tried to download the office2013 skin from ckeditor and added it both : the files in the skin folder and the line in the gsconfig.php, but nothing is working.

Please, could you help me about this ?
Reply
#12
I also try change something about Ckeditor, not simple...not clear to me.

Have you install some plugins? Some overwrite the ckeditor settings, so look into a plugin if you can find
Reply
#13
You are replying to a 3 year old post. What are you trying to do and what problem are you having
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#14
(2015-10-21, 22:07:49)shawn_a Wrote: You are replying to a 3 year old post. What are you trying to do and what problem are you having

The post was 2 hours old  Confused ......

For me, i try to find out why some  icons in the toolbar are  grey e.g, and how to ad more plugins/icons in CKeditor
Reply
#15
Not you.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#16
I suggest you don't even bother, just install the ckepatch plugin, since our core ckeditor is ancient.

http://get-simple.info/extend/plugin/gsckepatch/899/
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#17
(2015-10-21, 23:01:49)shawn_a Wrote: I suggest you don't even bother, just install the ckepatch plugin, since our core ckeditor is ancient.

http://get-simple.info/extend/plugin/gsckepatch/899/

Thanks this is much better.

I try to find out how change the toolbar in GSCkePatch      config.js


config.toolbar_advanced = 


Code:
[['Bold', 'Italic', .....


But when i edit , nothing happens?
Reply
#18
Why not customize the toolbar via gsconfig?
See http://get-simple.info/wiki/how_to:edito...n_toolbars -> Custom Toolbar
Reply
#19
(2015-10-24, 01:56:12)Carlos Wrote: Why not customize the toolbar via gsconfig?
See http://get-simple.info/wiki/how_to:edito...n_toolbars -> Custom Toolbar

Thanks,

Add some code like under in the gsconfig, but nothing change.
Code:
define('GSEDITORTOOL',"['Source','Save','Cut','Copy','Paste','PasteFromWord','-','Undo','Redo','Find','Replace',
'-','SelectAll','-','RemoveFormat','-','Outdent','Indent','-','Blockquote','CreateDiv'],
['Bold', 'Italic', 'Underline','Strike','Subscript','Superscript', 'NumberedList',
'BulletedList','JustifyLeft','JustifyCenter','JustifyRight',
'JustifyBlock', 'Table', 'TextColor', 'BGColor', 'Link','Unlink', 'Image'],'/'['Styles','Format','Font',
'FontSize','Flash','HorizontalRule','Smiley','SpecialChar','PageBreak',
'Iframe','Maximize','ShowBlocks','-','About']");
Reply
#20
Missing comma:
Code:
,'/'
should be:
Code:
,'/',
Reply
#21
(2015-10-24, 02:41:02)Carlos Wrote: Missing comma:

Code:
,'/'
should be:

Code:
,'/',

Gracias Carlos,

For your Newsmanager it help (why some icons grey?)

But for the standard editor nothing happens, the icons/toolbar not change.

Use:  https://github.com/GetSimpleCMS/GSCkePatch
Reply
#22
I've just tested with GSCkePatch 0.4 and it works ok with the toolbar you pasted (of course corrected with the comma)

As for News Manager, it uses the CKeditor version that is bundled with GS, which seems to not have all icons.
Reply
#23
(2015-10-24, 05:17:12)Carlos Wrote: I've just tested with GSCkePatch 0.4 and it works ok with the toolbar you pasted (of course corrected with the comma)

As for News Manager, it uses the CKeditor version that is bundled with GS, which seems to not have all icons.

Ok , now it works fine for me , it is the http://www.responsivefilemanager.com/ plugin,
this has his own CkEditor rules, now must find out how to fix.


For the pages the icons are OK, For the newsManager some grey

Furder , did dis works by you? define('GSEDITORLANG', 'nl'); in gsconfig
Reply
#24
The plugin only replaces the page editor as it says in the desc.
You might want to check out the ckepatch branch of gs on the dl page
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#25
(2015-10-24, 05:50:00)Frens Wrote: Ok , now it works fine for me , it is the http://www.responsivefilemanager.com/ plugin,
this has his own CkEditor rules, now must find out how to fix.


For the pages the icons are OK, For the newsManager some grey

The icon image file that GS has (and NM uses) doesn't include some icons.
I think you have to replace the icons.png file in /admin/template/js/ckeditor/skins/getsimple with another one that has more icons.

(2015-10-24, 05:50:00)Frens Wrote: Furder , did dis works by you? define('GSEDITORLANG', 'nl'); in gsconfig

GSCkePatch only includes English.
Reply




Users browsing this thread: 3 Guest(s)