Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Conveyor belt slideshow javascript for Featured Items

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 03-11-2006, 04:01 AM
 
rossco rossco is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 97
 

Default

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
__________________
How loud do you want it?

X-Cart Gold 4.0.12 & 17
Reply With Quote
  #12  
Old 03-13-2006, 08:38 AM
 
gfiebich gfiebich is offline
 

Senior Member
  
Join Date: Feb 2003
Location: St. Paul, MN
Posts: 108
 

Default

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
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS
Reply With Quote
  #13  
Old 03-14-2006, 01:39 AM
 
shirtshop shirtshop is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 127
 

Default

any idea to get this working under 3.5.10? It's shows just 1 product.
__________________
ver 3.5.10 with a lot of customizing
now testing 4.4.1 smartytemplate
Reply With Quote
  #14  
Old 04-11-2006, 02:00 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default

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)
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #15  
Old 04-17-2006, 12:27 AM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default

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
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote
  #16  
Old 06-25-2006, 09:00 PM
 
digidreamer digidreamer is offline
 

Newbie
  
Join Date: Jun 2006
Posts: 2
 

Default

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
__________________
digidreamer
x-cart pro 4.1.10
Reply With Quote
  #17  
Old 12-03-2007, 12:20 PM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default 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.
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #18  
Old 12-03-2007, 01:10 PM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default 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>'
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #19  
Old 12-03-2007, 05:25 PM
 
aop aop is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: los angeles
Posts: 96
 

Default Re: Conveyor belt slideshow javascript for Featured Items

rubberneck;
any chance to see it working in a site ?
Thanks!!
__________________
www.furniturevision.com
Version 3.2.2 retired
Updated to 4.0.8 - retired
Updated to 4.1.9 - retired
Updated to 4.4
Reply With Quote
  #20  
Old 12-03-2007, 07:02 PM
 
Miket Miket is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 106
 

Default Re: Conveyor belt slideshow javascript for Featured Items

X2!
__________________
Mike
X-Cart version 4.1.0
PHP 4.4.2
MySQL server 4.1.19
Web server Apache
Operation system Linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:38 PM.

   

 
X-Cart forums © 2001-2020