Forums / Setup & design / Problems with editor.css in online editor
Mark Kruse
Wednesday 04 February 2004 2:43:40 am
Hi!
We are using the online editor in the siteaccess "admin", which we get via the url:http://host/admin/content/edit...
The editor do not get the editor.css and the apache-error-log says that /ezpublish/admin/extension/.../editor.css doesn't exist. This is right, the admin is flase in this case.The ezeditor.js uses the variable indexDir from ezSys->indexDir().
It seems, that this class gets our siteaccess as wwwDir.
Does anyone have an idea, how to correct this problem?
Greetings,
Mark
Wenyue Yu
Wednesday 04 February 2004 6:48:18 am
Hi,
Could you check function setStyleSheet() in ezeditor.js (line around 500)?
You can use "alert( editorCSS );" to see what url the css file get.
Regards,wenyue
Wednesday 04 February 2004 11:54:07 pm
I did check this function. And the variable "editorCSS" is filled with the IndexDir from class eZSys (in my case, with "admin").When I remove the IndexDir in this JavaScript-function, all is OK.
So I think, it has to be the eZSys-Class. But I do not know, how to correct this problem...
Regards,