| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Lightbox JS v2.0 implementation | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
For clickable thubmnails, here is my thickbox_productpage.tpl
Code:
__________________
X-Cart Gold 4.0.17 X-AOM Safetynet DSEFU Easy Checkout _________________ |
|||||||
#42
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
Quote:
Dfawdon, thank you for your code, however, it does not do what I need for version 4.1 - since it totally blows out variant thumb images (let's say I have a product with 11 colors [i do] - when the customer pulls down the select color menu, the thumb changes! This is a very cool feature and causing me to lose sleep & hair.) The code I posted before allows each variant to have its own thumb (this is right out of xcart 4.1.3) - I am satisfied with how the images are displayed, and how they appear -- I just need to be able to click on the primary thumb and have it behave as if it were the first thickbox link. Anyone else? Thanks! Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#43
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
What a GREAT mod! ANybody have any idea why it's not working for me though? I did exactly what the instructions said to no and no-go - the loading animation keeps twilrling....
I am using 4.0.18 - any ideas as to what I could be doing wrong? http://www.homegrownmarket.com/product.php?productid=16143&cat=317&page=1 Thanks in advance! xo
__________________
4.0.18 |
|||||||
#45
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
The reason dfawdon's code did not work for me -- the img src tag was not needed...
My next post will be my COMPLETE mod to Thickbox, for 4.1.3, including clickable thumbnail images. Thanks to all...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#46
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
OK... I paid X-Cart to help me figure this out... and I am now presenting my final mod...
This revision to Goran's free contribution is "optimized" for 4.1.3 and allows unique variant thumbnail images (that is, if you have assigned unique thumbs to variants) to be CLICKABLE, and the thumbnail link will call THICKBOX. This is ONLY for 4.1 and later... First, install Thickbox as described in Goran's instructions. Then: 1. Enable Detailed Product Images options (4.1 admin settings) 2. Change this code in product.tpl: FIND: Code:
Code:
3. /skin1/thickbox/thickbox_productpage.tpl -- this is the new code. REPLACE what you have with this: Code:
4. You will probably need to make a minor adjustment to /skin1/thickbox/files/thickbox.css Comment out lines 4-6 - to look like this: Code:
5. You could stop here, but then when you call Thickbox, the display will say "image 2 of 2" if you have a single detailed image, or "image 2 of 3" if you have 2 images, etc... so this required one last edit -- in /skin1/thickbox/files/thickbox.js Line 70 -- FIND: Code:
Code:
That's that. Please alert me if you find any issues... This code works perfectly for me in 4.1.3 Goran, feel free to use this or add this to the distribution. Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#47
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
Has anyone tried to implement this with TelaFirma's image mod?
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting! |
|||||||
#48
|
|||||||
|
|||||||
Re: ThickBox implementation
THANK YOU Zaja!
This mod works great, and it was a real time saver.
__________________
Tyson McPherson X-Cart version 4.1.8 PHP 4.3.9 MySQL server 4.1.12-log MySQL client 4.1.12 Web server Apache/2.0.52 (Red Hat) Operation system Red Hat 3.4.6-2 |
|||||||
#49
|
|||||||
|
|||||||
Not working on 4.0.18
Hi,
I've just done a fresh install of 4.0.18 and Thickbox does not work. The loading image just rotates and nothing happens. Could some have a look here? http://www.rocasoft.co.uk/product.php?productid=167&cat=111&page=1 cheers
__________________
Rocate 4.0.18 Windows XP Linux UK |
|||||||
#50
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
Did you remove thickbox? All I see on your site is a mega supersized detailed image.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|