View Single Post
  #10  
Old 06-08-2011, 05:59 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: js Ultimate & bretteleben slideshows doesn't run from inside x-cart 4.4.3

Quote:
where do those scripts are really running and where should i store those files fy default ? In this case, if i keep the code as it is in home.tp without defining a path to fadeslideshow.js where should i move fadeslideshow.js to run it correctly then ?

X-cart php script is running in the directory where you installed it - in your case: http://www.skytracker.eu/store

You can do a "view source" in your browser and see this:
<script type="text/javascript" src="fadeslideshow.js">

That means, the script is looking for this file here: http://www.skytracker.eu/store/fadeslideshow.js - but it is not there. You can either change this to point to where you want to have this file, or you could define it more precisely to avoid issues:
<script type="text/javascript" src="/store/skin/common_files/customer/fadeslideshow.js">

The paths for every file referenced has to be correct - including the images.


Quote:
I have not tested the Ultimate slideshow outside of x-cart, only bretteleben script.

When I say outside of x-cart, I don't mean outside of the x-cart directory. So - if you have a test file running properly in the same directory as http://www.skytracker.eu/store/ - then you know you have all the paths to files correct before you try to integrate it with x-cart.

Once you have it working in x-cart (I'm still worried about your calling the jquery libraries twice) - you may want to consider adding it using the methods QT uses - see this post by Shamun: http://forum.x-cart.com/showpost.php?p=314599&postcount=2

----
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote