Hi.
I am using fckE with php. So far it works. But now I want to customize the toolbar.
Unfortunately this doesn't work.
My php looks like this:
I get the error-message, that 'fckuser-toolbar' can't be found.
Does anybody have an idea, what mistake I made?
Thanx,
tobydom
I am using fckE with php. So far it works. But now I want to customize the toolbar.
Unfortunately this doesn't work.
My php looks like this:
$oFCKeditor = new FCKeditor('content') ; $oFCKeditor->BasePath = '/fckeditor/' ; $oFCKeditor->Value = $common->content ; $oFCKeditor->Width = '100%' ; $oFCKeditor->Height = '300' ; $oFCKeditor->Config['CustomConfigurationsPath'] = '/fckuser-config.js' ; $oFCKeditor->ToolbarSet = 'fckuser-toolbar'; $tmprslt .= $oFCKeditor->CreateHtml() ;
I get the error-message, that 'fckuser-toolbar' can't be found.
Does anybody have an idea, what mistake I made?
Thanx,
tobydom
Re: custom-toolbar cannot be found
I have the same problem and also working with php.
I made a new toolbar in the fckconfig.js and put this in the fckeditor_php5.php and php4 (to be sure)
But same msg, MyToolBar can't be found..
Do you already have a solution?
Or someone else?
Thank you
Didier
Re: custom-toolbar cannot be found
Hi
,
I'm still wondering if someone has an answer about the problem encoutered by Tobydom and myself.
After a couple of testing hours, I decided to stop and waiting for an answer because I really don't see where the problem is.
Thanks for your help
Re: custom-toolbar cannot be found
I am still looking for a solution for my problem.
I spent hours searching, but I have no idea what is wrong.
Perhaps this part is wrong, but I don't know how it is correct:
Any ideas?
Re: custom-toolbar cannot be found
Re: custom-toolbar cannot be found
Some Directory structure info
In fckconfig.js I have this line
Its weird about the '../../' but its the path from the project/FCKeditor.Net_2.6.3/editor directory not the project/FCKeditor.Net_2.6.3 directory. That may be your problem?? :S
In my FCKeditorCustomConfiguration.js file I add some plugins
I add some buttons to the default toolbar sets in the fckconfig.js file.. I haven't got round to doing that in my custom config file yet.
Re: custom-toolbar cannot be found
Re: custom-toolbar cannot be found
Re: custom-toolbar cannot be found
I've finally found an answer if no one else has!
Using jQuery and the jQuery FCKEditor Plugin I'm able to pass the following and access my custom config file! Here's my source to experiment with: