X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Conveyor belt slideshow javascript for Featured Items (https://forum.x-cart.com/showthread.php?t=20040)

rossco 03-11-2006 04:01 AM

Quote:

Originally Posted by gfiebich
Allan-
Glad that fixed the problem. I'm not sure I follow you regarding the "more products" question. You could widen the conveyor belt to the same dimensions as that banner ad at the bottom of your page (728px). You can do this by changing
Code:

//Specify the slider's width (in pixels)
var sliderwidth="420px"


-Glen


Glen, Hi

If I try to list more than 6 products it tries to spilt them over two pages and messes everything up.

Allan

gfiebich 03-13-2006 08:38 AM

Hi Allan-
I've done some digging, but unfortunately don't have a solution for you. The number of items displayed in the scroller is controlled by the "Products per page" setting in the Admin/General Settings/Appearance. You could increase your setting, but of course that will affect all of your category pages as well. The critical piece of code that controls how products/pages are divided up is in include/search.php under
Code:

                # Prepare the page navigation
but I wasn't able to successfully hack this so that the "Products per page" setting was ignored for featured products.
-Glen

shirtshop 03-14-2006 01:39 AM

any idea to get this working under 3.5.10? It's shows just 1 product.

amy2203 04-11-2006 02:00 AM

This is great,

I have made one small change, part of the dynamic drive code creates a table, which is where the conveyor sits, and it was sitting over to the left, so to center it I replaced the part that defined the table with:

Code:

<table width="100%"><td align="center">

now it sits nicely under my featured products dialog title.

hth

(currently modifying v 4.0.18 before taking it live)

NightFire 04-17-2006 12:27 AM

Somehow this doesn't work for me. The slideshow is running. But it is displaying a row of no image available. It displays no price and it directs me to the following link:

http://localhost/shop/product.php?productid=&cat=0&page=1

digidreamer 06-25-2006 09:00 PM

HI,

I can get the slide show to work but you can still see the static image above the slide show. What did I do wrong? Also what would I need to change so that the "click for details" appears under the image instead of next to it?

Thanks in advance for any help BTW you can view it here: www.thedigidreamer.com/boutique/home.php

rubberneck 12-03-2007 12:20 PM

Re: Conveyor belt slideshow javascript for Featured Items
 
Does anyone have this working in 4.1.x ? I have the scroller working, but none of the images are linked. Help? thanks.

rubberneck 12-03-2007 01:10 PM

Re: Conveyor belt slideshow javascript for Featured Items
 
Ok, I figured it out on my own and wanted to share for others.

replaced
Quote:

leftrightslide[{counter}]='{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}'


with:

Quote:

leftrightslide[{counter}]='<a href=product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}>{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}</a>'

aop 12-03-2007 05:25 PM

Re: Conveyor belt slideshow javascript for Featured Items
 
rubberneck;
any chance to see it working in a site ?
Thanks!!

Miket 12-03-2007 07:02 PM

Re: Conveyor belt slideshow javascript for Featured Items
 
X2!


All times are GMT -8. The time now is 07:50 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.