View Single Post
  #1  
Old 06-08-2011, 06:46 AM
 
frontliner frontliner is offline
 

Advanced Member
  
Join Date: Apr 2011
Location: Mons - Belgium
Posts: 53
 

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

Hi,

I have tried to install two different javascript slidshows but they are not working when placed inside x-cart directories.

1. I first tried to run the ultimate slideshow v2.4 from Dynamic Drive onto the customer homepage without success then i even contacted John Davenport (developer of the script) on his forum. I gave him the link to my homepage and after having examined the code from the browser side, John had no answer about this behaviour.

2. Then i decided to try another fade slideshow same kind from another developer to see if this one would work better. So, i tried the bretteleben.de slideshow.

3. In order to see if the problem was coming from the hosting configuration or from x-cart, i set up the bretteleben script demo without modifications directly in the www directory outside of x-cart.


4. Then, in order to keep the demo code as the original one while still run it under x-cart for testing, i cloned be_slide.html in a static page and stored all the files from the demo in the same directory (same as i did outside of x-cart, all files stored in the same dir without calls to external paths).

Conclusion : the same script runs successfully outside of x-cart environment in www dir but doesn't work when run from under x-cart directories (homepage & demo cloned static page).

Initially i need to run the script on the homepage, so the code that refers to be_slide.js is placed between headers in /common_files/customer/home.tpl
and the call to the script where should the slideshow take place in /2-columns/customer/main/welcome.tpl


Is this could be a problem with Javascript or Smarty or with x-cart 4.4.3 ?

More about those two slideshows configuration and files below :

http://www.bretteleben.de/lang-en/javascript/slideshow.html

http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

I can't understand why those js slideshows are not working at all from under x-cart.

Do someone can help ? Do i have to refer for a possible bug in 4.4.3 ?

I can post the links pointing to my store if you need...

Thanks.
__________________
X-Cart Gold v4.4.3
Reply With Quote