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
  #31  
Old 11-13-2008, 08:13 AM
 
kmjperformance kmjperformance is offline
 

Advanced Member
  
Join Date: Jul 2008
Location: Iowa
Posts: 42
 

Default Re: Conveyor belt slideshow javascript for Featured Items

This is all very cool! How would I go about placing something like this on an external webpage on my site and also, I only want to display the items from a certain category? I'm guessing I'm going to need to do some sql commands?

Thanks a bunch in advance!
__________________

X-Cart 4.4.5
PHP 5.3.14-1
MySQL 5.0.51
Linux + Apache
Mods:
AlteredCart SmartSearch w/ AJAX Predictive Search w/ Extras Add-On v2, BuyTogether, Checkout One, OnSale
********* PowerFilter
WebsiteCM CDSEOPro
Phpmagicscripts Reviews-Controller
CFL Systems Products Page Layout, System Messages mod
Custom work by CFLSystems
Custom work by us
Reply With Quote
  #32  
Old 01-11-2009, 07:12 PM
 
leannew leannew is offline
 

Member
  
Join Date: Sep 2006
Posts: 25
 

Default Re: Conveyor belt slideshow javascript for Featured Items

Quote:
Originally Posted by PhilJ
Here's a mod for featured products, based on this...
http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm
Thanks PhilJ great mod just one problem does not scroll through images in Frefox -just has a static image of 1 featured product only .Works great in IE .
Anyway to fix this as it is very cool
__________________
leanne Winner
xcat version 4.0.19
Now trying 4.3.1
Reply With Quote
  #33  
Old 01-14-2009, 01:54 PM
 
chris.barber chris.barber is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 74
 

Default Re: Conveyor belt slideshow javascript for Featured Items

I had a look at Phils demo page in IE and Firefox and it is working great in both.
__________________
Chris Barber
Version 4.1.9
MOD - BCSE Shipping Estimator
MOD - Shopzilla Feed
MOD - Price Match with Captcha
MOD - Links Manager 2008
MOD - One Page Checkout
MOD - Sitemap
Reply With Quote
  #34  
Old 02-22-2009, 06:46 PM
  shopccp's Avatar 
shopccp shopccp is offline
 

Advanced Member
  
Join Date: Oct 2006
Posts: 35
 

Default Re: Conveyor belt slideshow javascript for Featured Items

Has anyone tried this for xcart-gold 4.2?
__________________
X-Cart Gold v4.4.4
Apache v2.2.20
PHP v5.3.8
MySQL v5.1.56-log
Linux kernel v2.6.18-238.19.1.el5xen
Reply With Quote
  #35  
Old 03-26-2009, 03:38 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Conveyor belt slideshow javascript for Featured Items

Quote:
Originally Posted by gfiebich
I wanted a way to jazz up the Featured Items display on my store's homepage without using Flash or orther plugins. The Conveyor Belt Slideshow javascript found on DynamicDrive.com fit the bill. The trick was to build the image array from the Featured Items in X-cart. Here are the steps to get this working:
  1. Open skin1/customer/products.tpl and find
    Code:
    {if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 4 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")}
    and replace that with
    Code:
    {elseif $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 4 and ($featured ne "Y" and $config.Appearance.featured_only_multicolumn eq "N")}
  2. Now, just above that, paste
    Code:
    {if $featured eq "Y"} {literal} {/literal}
  3. Copy the code from DynamicDrive: http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm
    and paste it just between the {literal}s.
  4. In the code you just got from DynamicDrive, find
    Code:
    leftrightslide[0]='[img]dynamicbook1.gif[/img]' leftrightslide[1]='[img]dynamicbook2.gif[/img]' leftrightslide[2]='[img]dynamicbook3.gif[/img]' leftrightslide[3]='[img]dynamicbook4.gif[/img]' leftrightslide[4]='[img]dynamicbook5.gif[/img]'
    and replace it with
  5. That's it - modify the variables in the DynamicDrive script as needed and feature some items in the store admin.
A couple of notes: I wasn't able to get this code to function both at the home-level and in subcategories (has to do with the $productid variable format changing), the thumbnail images are aligned=bottom, the images scroll right to left (negative numbers in the settings don't have the expected results). If you have questions about the code, please don't paste any of the DynamicDrive script in your message as that would violate their TOS. This was done in X-Cart Gold 4.0.17.

happy modding,
-Glen

Hi
Thanks gfiebich for your such fine codes.Is it possible to see on Recommended products list on product page?If possible how?

Thanks to all again.
__________________
4.6.1 Platinum


Reply With Quote
  #36  
Old 04-15-2009, 01:54 AM
  just_me's Avatar 
just_me just_me is offline
 

Advanced Member
  
Join Date: Oct 2005
Location: Spain
Posts: 69
 

Default Re: Conveyor belt slideshow javascript for Featured Items

gfiebich,
Thanks for helping me some "bells and whistles" to my xcarty.

I got the links to the thumbs working also.
If you added the align center feature, the slideshow rotation sequence disappears leaving a gap on the left before beginning a new rotation slideshow in some IE browsers. Removing "align center" from the table properties fixes this.

__________________
Cordially,
Just me
X-Cart Gold
Version 4.2.3
Multilingual shop: Spanish, French and US English
Reply With Quote
  #37  
Old 04-29-2009, 07:10 AM
 
spyderwoman spyderwoman is offline
 

Advanced Member
  
Join Date: Jun 2008
Posts: 44
 

Default Re: Conveyor belt slideshow javascript for Featured Items

I cant seem to get the toggle buttons to center. Any Ideas?
https://www.greenpeanursery.com/cart/home1.php
__________________
X-Cart DB Version: 4.1.10 GOLD

Addons:
Gift Registry (enabled);
RMA (enabled);
Special Offers (enabled);
Reply With Quote
  #38  
Old 04-29-2009, 10:51 AM
 
spyderwoman spyderwoman is offline
 

Advanced Member
  
Join Date: Jun 2008
Posts: 44
 

Default Re: Conveyor belt slideshow javascript for Featured Items

Thanks Just Me, I now have my buttons aligned and it works in IE thanks to you but now my box is off center... Any ideas?
__________________
X-Cart DB Version: 4.1.10 GOLD

Addons:
Gift Registry (enabled);
RMA (enabled);
Special Offers (enabled);
Reply With Quote
  #39  
Old 05-20-2009, 05:55 PM
 
spyderwoman spyderwoman is offline
 

Advanced Member
  
Join Date: Jun 2008
Posts: 44
 

Default Re: Conveyor belt slideshow javascript for Featured Items

Sorry, but does anyone know why this doesnt work in IE? Google and Firefox seem fine but there is a missalignment in IE
https://www.greenpeanursery.com
__________________
X-Cart DB Version: 4.1.10 GOLD

Addons:
Gift Registry (enabled);
RMA (enabled);
Special Offers (enabled);
Reply With Quote
  #40  
Old 06-17-2009, 05:04 PM
 
Total Supply Total Supply is offline
 

Member
  
Join Date: Jan 2009
Posts: 11
 

Default Re: Conveyor belt slideshow javascript for Featured Items

The images seem to appear alright in both IE and Firefox however the speeds vary a lot. In IE the images stagger very badly does anyone know a fix for this?
__________________
Xcart Gold
4.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 04:15 PM.

   

 
X-Cart forums © 2001-2020