When WYSIWYG is not WYSIWYG

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: When WYSIWYG is not WYSIWYG

Post by Jensensen »

[x]
Last edited by Jensensen on Sat 20. Sep 2008, 00:35, edited 2 times in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: When WYSIWYG is not WYSIWYG

Post by Jensensen »

You can use custom ToolbarSets by editing [x]
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
VITWNOW
Posts: 11
Joined: Mon 8. Dec 2008, 02:10

Re: When WYSIWYG is not WYSIWYG

Post 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?
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: When WYSIWYG is not WYSIWYG

Post by update »

logout of the system, empty browser cache, reload, log in again
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
Oliver Georgi
Site Admin
Posts: 9909
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: When WYSIWYG is not WYSIWYG

Post 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.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
VITWNOW
Posts: 11
Joined: Mon 8. Dec 2008, 02:10

Re: When WYSIWYG is not WYSIWYG

Post by VITWNOW »

Claus wrote:
logout of the system, empty browser cache, reload, log in again
That worked. Thanks!
Post Reply