This is probably a stupid thing but whenever I try to show the 'Style' element in the menu bar, it won't go. I've tried with the original fckstyles.xml file. The weird thing is that when I go to the demo on fckeditor.net, the styles pulldown works fine! So, is there something else than the base path I should be checking in fckconfig.js to make the styles pulldown appear? Everything else works fine une the toolbars... Thanks!
Mon, 11/28/2005 - 11:57
#1
RE: Styles pulldown won't show
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
Did you check your server logs to see if it is asking for a different path instead of the one you want?
Do you have any javascript errors?
RE: Styles pulldown won't show
Thanks for the answer. I'm not using PHP to generate the editor, just plain Javascript. So I guess there isn't any logging done? And, oops, yes I had a Javascript error when trying to instanciate :
Error: this.DOMDocument has no properties
Source File: http://www.imagestion.com/admin/FCKedit ... gecko_2.js
Line: 22
This is of course in Firefox. When using IE, I get the styles pulldown but it's empty. No Javascript errors showing in IE. Thanks again!
RE: Styles pulldown won't show
The error line isn't very useful as you are using the packaged sources so each line it's very long and it's hard to know where did that code came from. You can use the normal sources calling the page with an extra parameter:
?fcksource=true
and then you can try to find where does it fail.
RE: Styles pulldown won't show
RE: Styles pulldown won't show
This is really upsetting since it works fine on the demo site. I'm not sure why it would have to do with paths since I create the editor from javascript and javascript doesn't access a true path??? Any help highly appreciated. Meanwhile, I think I'll try installing it on another server just to see if it works. If it does, it's a path issue I guess. Thanks for any help!
Follow up