I have followed the steps that are shown in the 'Toolbar Configuration' page in the documentation section.
I have placed the example toolbar that is there in the fckconfig.js file.
Then I have php code to load FCKeditor
<?php
$oFCKeditor = new FCKeditor('editor');
$oFCKeditor->BasePath = 'FCKeditor/';
$oFCKeditor->Width = '90%' ;
$oFCKeditor->Height = '500' ;
$oFCKeditor->ToolbarSet = "MyToolbar";
//$oFCKeditor->ToolbarSet = "Basic";
$oFCKeditor->Create();
?>
If I have the $oFCKeditor->ToolbarSet = "MyToolbar"; I get an alert box saying it doesn't exist, when in fact it does I have placed it in the fckconfig.js. I just copy/pasted the code from the toolbar documentation page. Why doesn't this work???
The code works fine If I just use the default or basic toolbars
I have placed the example toolbar that is there in the fckconfig.js file.
Then I have php code to load FCKeditor
<?php
$oFCKeditor = new FCKeditor('editor');
$oFCKeditor->BasePath = 'FCKeditor/';
$oFCKeditor->Width = '90%' ;
$oFCKeditor->Height = '500' ;
$oFCKeditor->ToolbarSet = "MyToolbar";
//$oFCKeditor->ToolbarSet = "Basic";
$oFCKeditor->Create();
?>
If I have the $oFCKeditor->ToolbarSet = "MyToolbar"; I get an alert box saying it doesn't exist, when in fact it does I have placed it in the fckconfig.js. I just copy/pasted the code from the toolbar documentation page. Why doesn't this work???
The code works fine If I just use the default or basic toolbars
Re: It says toolbar doesn't exist!!
Are you using FireFox? I had this same problem. Your browser is caching an old version of the config file.
Browse to the config file js and ctrl+f5 to reload it, everything should work now...
Re: It says toolbar doesn't exist!!
I have the same problem. How did you solve it?
Thank's
Joan
Re: It says toolbar doesn't exist!!
Please advice.
Re: It says toolbar doesn't exist!!
Any thoughts or fixes yet?
Re: It says toolbar doesn't exist!!
Re: It says toolbar doesn't exist!!
I have the same problem. I deleted chkconfig.js in server, but the problem remain.
Thank's
Marcelo
RJ - Brazil
Re: It says toolbar doesn't exist!!
I solved my problem, is was a cache problem - i cleared the cache and waited half an hour, and pling... the problem was gone