You are not logged in.
Hi all,
I've got a problem loading editor with skins. I was able to to it in a sandbox example without any problems using:
_editor_skin = "xp-blue";
(I've noticed that if this declaration is omitted the editor still is loaded with some skin, probably a default.)
However I had to integrate this into another object, and everything went smoothly except for skins. In this case, not only the xp-blue skin is not loaded (it is specified the same way as in a sandbox), but also the default skin does not load.
If i inspect my head tag after the doc is loaded, I can see all script and link tags added, and I can take the css out an load it into the window.
What could be wrong ?
Thanks,
Tom.
Offline
I found what the problem was, and is tricky and my help someone in similar situation.
I was loading all my stuff through a small PHP proxy. Now, the proxy was reading all these files from filesystem.
I used the Fileinfo to read the mime information of these files. And here was the problem. finfo was setting the mimetype of .css files as text/plain, and that made FF not see it as a valid css file. FF requires yor css to have text/css mimetype !
Hope this saves someone some time !
Tom
Last edited by phraktal (2008-11-07 17:08:16)
Offline