[Xerte] XOT install - down the rabbit hole

Dave Burnett d_b_burnett at hotmail.com
Mon Nov 30 13:29:30 GMT 2009



>Flash_upload_path
is set in the site variables and is usually “upload.php?path=”
OK, this is where I don't get it.
When I choose a file and hit edit, the project window opens with this source:

<script type="text/javascript">
   var so = new SWFObject("modules/xerte/engine/wizard.swf", "mymovie", "800", "600", "8,0,0,0", "#e0e0e0");
so.addParam("quality", "high");
so.addVariable("xmlvariable", "USER-FILES/9-Dave-Nottingham/preview.xml");
so.addVariable("rlovariable", "USER-FILES/9-Dave-Nottingham/media/");
so.addVariable("originalpathvariable", "modules/xerte/parent_templates/Nottingham/");
so.addVariable("template_id", "9");
so.addVariable("template_height", "600");
so.addVariable("template_width", "800");
so.addVariable("read_and_write", "true");
so.addVariable("savepath", "modules/xerte/engine/save.php");
so.addVariable("upload_path", "upload.php?path=");
so.addVariable("preview_path", "modules/xerte/engine/file_exists.php");
so.addVariable("flv_skin", "http://www.hipgnosys.com/xerte_ot/modules/xerte/engine/tools/SteelOverAll.swf");
so.addVariable("site_url", "http://www.hipgnosys.com/xerte_ot/");
so.addVariable("apache", "false");
so.write("flashcontent");
</script>


It looks like the so is instantiated, then the project specific parameters are passed into it. The paths all look specific except for the "upload_path" var.
It looks truncated at "" (which could explain why the uploads end up in root, probably the default in lieu of a full path).

??

   





 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091130/04633878/attachment.html


More information about the Xerte mailing list