Hi there,
I hope it's a simple question, but I really don't seem to be able to find the answer. When I use this code, it comes up with a text-area, showing the basic toolbar (just as I requested) :
When I use this code :
it comes up with a textarea, but no toolbar is visible. And, you kind'a guessed it: I wanna use the default toolbar. What is going wrong ? I did all things mentioned on the website, installed it several times, read all the scripts, but..... didn't find the solution.
Kind regards,
Andre
I hope it's a simple question, but I really don't seem to be able to find the answer. When I use this code, it comes up with a text-area, showing the basic toolbar (just as I requested) :
<?php $oFCKeditor = new FCKeditor('TextForXMLoutput') ; $oFCKeditor->Value = 'bladiebladiebla'; $oFCKeditor->ToolbarSet = 'Basic'; $oFCKeditor->Create() ; ?>
When I use this code :
<?php $oFCKeditor = new FCKeditor('TextForXMLoutput') ; $oFCKeditor->Value = 'bladiebladiebla'; $oFCKeditor->ToolbarSet = 'Default'; $oFCKeditor->Create() ; ?>
it comes up with a textarea, but no toolbar is visible. And, you kind'a guessed it: I wanna use the default toolbar. What is going wrong ? I did all things mentioned on the website, installed it several times, read all the scripts, but..... didn't find the solution.
Kind regards,
Andre

RE: Basic toolbar yes, default toolbar : no
Same issue, more detail
These elements seem to cause the problem:
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor']
I'm guessing those are selects or (in the case of the colors), some sort of custom dialog.
Also, JavaScript console reports that "FCKTools is not defined" when I include any of these elements in the toolbar. The error is from the fckeditorcode_gecko_2.js file - so something related to Firefox I'm guessing.
I'm on a Mac, using Firefox 1.5 and the latest developer release of Flock. Both behave the same way. I don't have a Windows machine to test with handy, so I'm not sure how widespread the issue is.
I'm off to search the forums, but this was the first message I came across, to thought I would share.
RE: Same issue, more detail
RE: Same issue, more detail
Are all files server properly, for example does the xml files appear if you load them directly?
Did you read other posts for problems like one with regards to mod_rewrite?
RE: Same issue, more detail
RE: Same issue, more detail
We block xml requests on our sites as a matter of course, as it means data stored in xml files can't be directly displayed.
If requests to .xml files are blocked, you can put the content in a dynamic file (eg. php or asp) and set the appropriate response type to text/xml. Then change fckconfig.js to point to your new dynamic file.
eg. in ASP (eg. mystyles.asp)
------------------------------------------
<%Response.ContentType="text/xml"%>
<Styles>
<Style>etc...</Style>
</Styles
------------------------------------------
This also opens up the possibility to dynamically read the styles information from a database or some other location.
Sorry I'm not sure of the PHP equivalent, but there should be an example in this forum somewhere.
Cheers
Ben
RE: Same issue, more detail
before the line :
I cleared my cache and it still doesn't work in IE 6 or Firefox 1.07. I'm getting a bit desperate on this one since I'll need the Style pulldown in projects I'm starting really soon. Thanks for the help!
RE: Same issue, more detail
Is your environment accessable externally so we can take a look?
RE: Same issue, more detail
http://www.imagestion.com/FCKeditor/_samples/
RE: Same issue, more detail
http://www.imagestion.com/FCKeditor/fckstyles.php
RE: Same issue, more detail
RE: Same issue, more detail
RE: Same issue, more detail
Does the full editor work at the demo site?
I guess not.
Did you tried with Firefox 1.0.7?
RE: Same issue, more detail
I'm guessing I have something missing on the server (hence the FCKTools error). For the record, I'm using the JavaScript version of FCK with nothing added. Server is Apache 2 connected to Tomcat 5.0. The other unusual feature is that I'm leading the editor via AJAX. Haven't tried to save the changes yet though, so fingers crossed.
RE: Same issue, more detail
RE: Same issue, more detail
http://www.yourdomain.com/fckeditor/fckstyles.xml
RE: Basic toolbar yes, default toolbar : no
I've been reading the other threads below (merlin9876, etc.). I went back and tried adding the Font and color pickers to my customer toolbar and they worked fine. So it looks to be the same bug reported before: Style.
the only difference I see is I get the "FCKTools is not defined" error in the JS Console. Yes, this if FF, but on Mac.
I don't see a solution though.