Hello everybody,
I've got a problem with the fkconfig.js.
I want to delete some buttons frome the toolbars.
At first I tried to delete the anwanted button directly from the "FCKConfig.ToolbarSets["Default"]" section.
But nothing happened.
Than I tried to use a own Toolbar Set "FCKConfig.ToolbarSets["test"]" but this also dont work. (There are still the same buttons)
I tried to use a own config file "test.js" and tried to bind it to the fkconfig.js : "FCKConfig.CustomConfigurationsPath = '/test.js' ;"
But no I get a error message that the toolbar "test" is unknown.
Finally I deleted the fkconfig.js just to see if anything would happen but the editor is working as before...
I'm using PHP 5, if there anybody who can help me ?
TZE
I've got a problem with the fkconfig.js.
I want to delete some buttons frome the toolbars.
At first I tried to delete the anwanted button directly from the "FCKConfig.ToolbarSets["Default"]" section.
But nothing happened.
Than I tried to use a own Toolbar Set "FCKConfig.ToolbarSets["test"]" but this also dont work. (There are still the same buttons)
I tried to use a own config file "test.js" and tried to bind it to the fkconfig.js : "FCKConfig.CustomConfigurationsPath = '/test.js' ;"
But no I get a error message that the toolbar "test" is unknown.
Finally I deleted the fkconfig.js just to see if anything would happen but the editor is working as before...
I'm using PHP 5, if there anybody who can help me ?
TZE
Re: Problems with config files
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Problems with config files
No, cache cleaning doesn't help here
Re: Problems with config files
run javascript alert(FCKConfig.BasePath + '/test.js').
You will get path of your 'test.js' as it is seen by editor. Then you can supply correct path to your 'test.js'. Possibly it will be '../../test.js'.