2011-11-25, 02:59:39
Thank you for the praise Connie, much appreciated - this has been hours of work but it will be worth it. GS is the best CMS out there. And I've been looking for years at them.
Anyway, I copied the toolbar plugin.js to the plugins folder from the _source folder (didn't realise it was only in there) but changing the code in it from "config.toolbar = 'Full';" to "config.toolbar = 'Basic';" has no affect (neither does "CKEDITOR.config.toolbar = 'Basic';"). Since this code works in gsconfig:
I tried something like this:
toolbar: 'admin/template/js/ckeditor/plugins/toolbar/plugin.js',
but it didn't work (disabled the toolbar entirely).
Can you give me another one of your great hints to get the toolbar to respond?
Or is there a way to add a parameter to NumberedList and BulletedList in gsconfig so they will use my style sheet? Currently they have no styling.
Thanks again.
Charles
Anyway, I copied the toolbar plugin.js to the plugins folder from the _source folder (didn't realise it was only in there) but changing the code in it from "config.toolbar = 'Full';" to "config.toolbar = 'Basic';" has no affect (neither does "CKEDITOR.config.toolbar = 'Basic';"). Since this code works in gsconfig:
Code:
define('GSEDITOROPTIONS',
" toolbar: [
['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Outdent', 'Indent'],
['Table', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source'],
'/',
['Styles','Format'],
],
I tried something like this:
toolbar: 'admin/template/js/ckeditor/plugins/toolbar/plugin.js',
but it didn't work (disabled the toolbar entirely).
Can you give me another one of your great hints to get the toolbar to respond?
Or is there a way to add a parameter to NumberedList and BulletedList in gsconfig so they will use my style sheet? Currently they have no styling.
Thanks again.
Charles