Page 2 of 2

Re: When WYSIWYG is not WYSIWYG

Posted: Fri 5. Sep 2008, 01:54
by Jensensen
[x]

Re: When WYSIWYG is not WYSIWYG

Posted: Fri 5. Sep 2008, 02:21
by Jensensen
You can use custom ToolbarSets by editing [x]

Re: When WYSIWYG is not WYSIWYG

Posted: Wed 20. Jan 2010, 16:37
by VITWNOW
I changed fckconfig.js as suggested (FCKConfig.BasePath + '../../../../template/inc_css/frontend.css' ) and still the display is unchanged. I've also manipulated the default FCKeditor CSS file (fck_editorarea.css), reloaded the page, with no apparent result. The site is running FCKeditor version 2.6.4. Any suggestions?

Re: When WYSIWYG is not WYSIWYG

Posted: Wed 20. Jan 2010, 18:19
by update
logout of the system, empty browser cache, reload, log in again

Re: When WYSIWYG is not WYSIWYG

Posted: Wed 20. Jan 2010, 23:07
by Oliver Georgi
flip-flop wrote:First: The toolbar names are hardcodet in /include/inc_tmpl/profile.account.tmpl.php
-> $wysiwygTemplates['FCKeditor'] = array('phpwcms_basic','phpwcms_default','Default','Basic');

Second: I managed a custom toolbar in fckeditor_config.js.php
For me it is sufficient to edit a existing toolbar e.g. like phpwcms_basic (without [images] and with [paste text].

Code: Select all

// a minimized FCKeditor Toolbar for phpwcms
FCKConfig.ToolbarSets["phpwcms_basic"] = [
   ['Bold','Italic','Underline','OrderedList','UnorderedList','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','Link','Unlink','TextColor','BGColor','PasteText'],
   ['FitWindow','Source']
] ;
The toolbars are NOT!!! hardcoded there. These are just fallbacks. Custom templates can be defined in conf.inc.php:

Code: Select all

$phpwcms['wysiwyg_template'] = array( 'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 'CKEditor' => 'phpwcms_basic,phpwcms_default,Default,Basic' );
This is where it can be changed or enhanced.

Re: When WYSIWYG is not WYSIWYG

Posted: Fri 22. Jan 2010, 06:04
by VITWNOW
Claus wrote:
logout of the system, empty browser cache, reload, log in again
That worked. Thanks!