Forums / Setup & design / Problems with editor.css in online editor

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Problems with editor.css in online editor

Author Message

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 /Exponential/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

Mark Kruse

Wednesday 04 February 2004 11:54:07 pm

Hi!

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,

Mark