Re: bxe does not work with absolute paths
Christian Stocker <[email protected]> 23 Oct 2002 19:18:40 +0200
| Newsgroups | gmane.editors.bitflux.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2002-10-23 at 17:40, [email protected] wrote: > hi there, > > i tried to run bxe with absolute paths, so that i might run the main > script which loads the jscripts in different place than > "bitfluxeditor/", but there are certain problems: > > a) i had to patch the bitfluxeditor.js script for load files not in > "./bxe/.....". there the root path of the config should be used. > > b) afterwards all jscripts were loaded, but the editor doesnt continue > to load after showing the "BITFLUX EDITOR" logo and "Loading bitflux > Editor Files ...". > all paths in config.xml seems correct (all absolute) you're right, there are too many hardcoded references to "./bxe/" in the scripts. I will change that tomorrow, so one has to only change one variable to change this directory. > any ideas ? Just as a sidenode. The xml-files have to come from the same host as the index.html. Therefore, if index.html comes from http://example.com you can't laod the xml files from http://other.com, they even have to come from the same port. I will inform you, when I changed the scripts. christian -- bx-editor-dev mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev