Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: bxe does not work with absolute paths: msg#00094

Subject: Re: bxe does not work with absolute paths
Hi

just had some spare minutes :)

The adjustements are made. If you take the latest cvs snapshot from our
site, you now only have to adjust the third parameter in BX_load in
index.html to change the directory, where the core files are:

<body id="bxe_area" onload="BX_load('./inc/config.xml',null,'./bxe/');">

I hope this works for you too :)

chregu


On Wed, 2002-10-23 at 19:18, Christian Stocker wrote:
> On Wed, 2002-10-23 at 17:40, christian@xxxxxxxxxxx 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
> bx-editor-dev@xxxxxxxxxxxxxxxx
> http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev


-- 
bx-editor-dev mailing list
bx-editor-dev@xxxxxxxxxxxxxxxx
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev



<Prev in Thread] Current Thread [Next in Thread>