I'm trying to add a custom toolbar, I :
1. Added the toolbar code to the fckconfig.js :
FCKConfig.ToolbarSets["Testbar"] = [
//The buttons//
] ;
2. Gave the toolbar a distinct name (Testbar)
3. Added the toolbar config in the php
$oFCKeditor->ToolbarSet = 'Testbar' ;
But the browsers (IE and Firefox) always say that the toolbar cannot be found.
I've edited every possible fckconfig.js (I made copies of the originals), and the paths all seem ok... I'm really confused.
1. Added the toolbar code to the fckconfig.js :
FCKConfig.ToolbarSets["Testbar"] = [
//The buttons//
] ;
2. Gave the toolbar a distinct name (Testbar)
3. Added the toolbar config in the php
$oFCKeditor->ToolbarSet = 'Testbar' ;
But the browsers (IE and Firefox) always say that the toolbar cannot be found.
I've edited every possible fckconfig.js (I made copies of the originals), and the paths all seem ok... I'm really confused.
RE: ToolBarSet not working (PHP)
And if I delete my new toolbar preset and use the default or compact, it starts to work again in Mozilla.
RE: ToolBarSet not working (PHP)
You have to put this part of code AFTER the 2 presets.
RE: ToolBarSet not working (PHP)
oFCKeditor.Config['CustomConfigurationsPath'] = '/fckeditor/my_fckconfig.js' ;
Mike