Hi everyone, I'm new to X-Cart and I'm trying to understand the system. I'm building a site starting from the Green Fashion Mosaic Template and I have a question about adding in a lightweight function to cycle promotional images in the place of the large welcome page image.
To achieve this on a regular site I would normally just implement the JQuery Cycle All plug-in (
http://plugins.jquery.com/project/cycle) which is a very lightweight solution for creating a rotating image gallery, and then just create a container div with a class name used to trigger the cycle function. All of the images within that div would automatically be rotated through. Here's a simple demo -
http://jquery.malsup.com/cycle/basic.html.
I am just so new to X-Cart that I don't even know which tpl files control the customer side header content on the homepage. I need to get into that file to link to the JQuery repository via Google Libraries, and call the plug in files on my server. I guess that I would also need to modify the template file that controls the welcome page as well. It looks like that image is just positioned inside of the welcome-top div so I would need to either add a new class for the images or rotate all images in the welcome-top div. Either way, this looks like it is very possible.
I' m just trying to be very careful not to royally screw anything up on the site otherwise I would just dig in and start experimenting. X-Cart has been a little tough to navigate so far. It seems as though the new version is very bloated with multiple style sheets that contain the same styles and so many space hogging scheme files, but it is also seems very powerful once you learn it top to bottom.
If anyone can point me in the right direction it would be greatly appreciated. Thank You!