Balinor,
I've just noticed that when i go for any other page than homepage, i get the error : "DIV ID wiht fadeshow1 not found on page !"
So, i reminded your post
http://forum.x-cart.com/showpost.php?p=193517&postcount=15 in reply to Fotodog where you adviced to insert a condition to call the slideshow to be displayed only onto the homepage.
First, as the code from my version is a little bit different i created a new js file (called callfadeslideshow.js) to move there all data related to the slideshow. However, differently to the path you specified ($skindir), i prefered to specify the same root directory where i have already stored fadeslideshow.js and images (to group all together).
It did not work... (btw is it allowed for a js file to call for another js file because v2.4 fadeslideshow has already one js file ?)
Then i tried to move callfadeslideshow.js to $skindir value as you stated... but problem is i'm not sure what is the current skindir (/skin ? /skin/2columns ? the one i'm currently using)... i tried both but could not have te slidshow working again, unfortunately
So, i restored my working code to customer/home.tpl and inserted your condition at first line and closed all existing code by the {/if} at the end.
I could not simplify it more while keeping my working code...
...but it still doesnt't work and this time i see in header just over the search bar :
Code:
{if $main eq "catalog" and $current_category.category eq ""} {/if}
which is the condition code in clear but without the scripts lines.
So, i don't understand again what happens here.
Can you help again, otherwise i get an error on any other page than homepage ?
I understand i have now to learn how js structure work in details to be able to go further...
Please help.
Thanks.