| ||||||||||
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 |
#201
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
OH JEEPERS!!!
I stupidly forgot to uncheck the 2 boxes in the admin section. Now to remove the excess so that I don't have repeating detailed image links!
__________________
- - Versions: 4.1.10 and 4.3.0 (see post for which cart) "Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge." - Thomas Edison "Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it is the only thing that ever has." - Margaret Mead (1901-197 quoted in John M. RIchardson, ed. Making it Happen, 1982 "Water is the best of all things." - Pindar (c. 522 BC - c. 438 BC), Olympian Odes |
|||||||
#202
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
You do have "detailed products" turned on in the module section and the two options for detailed products turned off...right?
|
|||||||
#203
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
Yeppers!
And I figured out the line to comment out is at the bottom. I am to the point of having thumbs in there but now trying to figure out how to make the thumbs not a shrunken down detailed image but rather a totally seperate thumb image in a different folder. Mind you, I have this on the test side of things, not live or our customers would be going "HUH?! Where did it go? OH NO! Its back! I think it is haunted. RUN!!!"
__________________
- - Versions: 4.1.10 and 4.3.0 (see post for which cart) "Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge." - Thomas Edison "Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it is the only thing that ever has." - Margaret Mead (1901-197 quoted in John M. RIchardson, ed. Making it Happen, 1982 "Water is the best of all things." - Pindar (c. 522 BC - c. 438 BC), Olympian Odes |
|||||||
#204
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
I have implemented this script along with thte tabber mod. You can see it in action at http://www.harveyev.com/store/product.php?productid=16133&cat=0&page=1&featured.
The issue Im having is the nav links dont show up in the image window. Everything else works fine. It seems that in the js code there is a test for a defined "imagegroup" variable. I dont see a.) where to define image groups and b.) how the imagegroup var would be passed in the thickbox distribution I downloaded from the demo site above when the urls to open are nothing more than the detailed image url without any query string. I looked at the demo at http://www.7dana.com/106.84.0.0.1.0.phtml and noticed the difference in demo that the url linked to the thumbs calls an phtml page istead of the detailed image file directly. This is obviously a different implementation than the sourcecode provided. Hrm...stupified atm as to how to resolve this. Any ideas?
__________________
Mike Harvey X-Cart Version: 4.1.9 GOLD Redhat Enterprise Server Apache 2.2.4MySQL 4.1.21 Mods: x-configurator, x-aom, Sns, and many a mounting number of hacks learned here (nuf said?) Harvey Coachworks http://www.harveyev.com/store |
|||||||
#205
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
Odd.... i love this setup. Downloaded it, sent up to skin1, but there is no product.tpl in skin1.
thoe only thing i have even close to the product.tpl is the product_thumbnail.tpl Am I missing something here.... Im totaly new to this, as i just got xcart the otehr day, yet i see no product.tpl in there at all... Any ideas/// PS....if i ever can find that product.tpl in the skin1 , is there anyway i could get the entire code from someone..... im so afraid of this tpl stuff and to bork things up.....quite the learning curve this is from my otehr store and cart..yikes PSS - ok i found it in main..yet it looks different than the ones above..what do i do? {* $Id: product.tpl,v 1.46.2.2 2007/06/04 11:13:13 max Exp $ *} {capture name=dialog} <table width="100%"> <tr> <td valign="top" align="left" width="30%"> {include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product} <p /> {if $smarty.get.mode ne "printable"} <a href="product.php?productid={$product.productid}&a mp;mode=printable" target="_blank"><img src="{$ImagesDir}/print.gif" width="23" height="22" name="print" alt="{$lng.lbl_printable_version|escape}" /></a> {/if} </td> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td>{$lng.lbl_sku}</td> <td>{$product.productcode}</td> </tr> {if $product.category_text} <tr> <td>{$lng.lbl_category}</td> <td>{$product.category_text}</td> </tr> {/if} {if $usertype eq "A"} <tr> <td>{$lng.lbl_vendor}</td> <td>{$product.provider}</td> </tr> {/if} <tr> <td>{$lng.lbl_availability}</td> <td>{if $product.forsale eq "Y"}{$lng.lbl_avail_for_sale}{elseif $product.forsale eq "B"}{$lng.lbl_pconf_avail_for_sale_bundled}{elseif $product.forsale eq "H"}{$lng.lbl_hidden}{else}{$lng.lbl_disabled} {/if}</td> </tr> <tr> <td colspan="2"> <br /> <br /> <span class="Text">{$product.descr}</span> <br /> <br /> </td> </tr> <tr> <td colspan="2"><b><font class="ProductDetailsTitle">{$lng.lbl_price_info}< /font></b></td> </tr> <tr> <td class="Line" height="1" colspan="2"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td width="50%">{$lng.lbl_price}</td> <td nowrap="nowrap"><font class="ProductPriceSmall">{include file="currency.tpl" value=$product.price}</font></td> </tr> <tr> <td width="50%">{$lng.lbl_in_stock}</td> <td nowrap="nowrap">{$lng.lbl_items_available|substitu te:"items":$product.avail}</td> </tr> <tr> <td width="50%">{$lng.lbl_weight}</td> <td nowrap="nowrap">{$product.weight} {$config.General.weight_symbol}</td> </tr> </table> <br /> <table cellspacing="0" cellpadding="0"> <tr> <td>{include file="buttons/modify.tpl" href="product_modify.php?productid=`$product.produ ctid`"}</td> <td> </td> <td>{include file="buttons/clone.tpl" href="process_product.php?mode=clone&productid=`$p roduct.productid`"}</td> <td> </td> <td>{include file="buttons/delete.tpl" href="process_product.php?mode=delete&productid=`$ product.productid`"}</td> </tr> </table> </td> </tr> </table> {/capture} {if $smarty.get.mode eq "printable"} {include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=440"} {else} {include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra='width="100%"'} {/if}
__________________
Regards, Dan X-Cart Gold Version 4.1.10 1 - One page checkout 2 - Image Generator 3 - CSDEO Pro 4 - Shop By Price 5 - Next - Previous 6 - On Sale 7 - Shop By Price 8 - Froogle & Google Base Feed 9 - Buy Together 10 - Customer Loyalty Points 11 - Customer Reward Points Customer Reward Points Referral Add-on 12 - Product Reviews 13 - Other Custom Modifications ---------------------- http://www.townsqjewelry.com/ http://www.eroticnights4u.com/ <---- Adult Oriented - Toys |
|||||||
#206
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
the product.tpl file is just within the customer/main/product.tpl folder etc.
And dont worry about Borking it up. Im pretty much a novice at this all anyway and Ive managed to get it working. once you locate the product.tpl when youre looking through your templates just copy out the original code and then paste in the new code? should it not work for you just copy the old back in no harm done. Dont worry you'll slowly get used to how it all works.
__________________
XCART GOLD 4.0.12 PHP 4.3.9 MySQL Server 4.0.22-nt MySQL Client 3.23.49 Web Server Microsoft-IIS/6.0 |
|||||||
#207
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
Quote:
Thank you... I did find the product.tpl as posted above...... that is what is curretnly in that file.... i wssnt sure what to change it to though... or waht to later in it..... thats why i was wonderign if anyone could alter the one i posted above for me..... and ur right, ill get the hand of it sometime I hope...its a huge curve from my otehr stores cart.......
__________________
Regards, Dan X-Cart Gold Version 4.1.10 1 - One page checkout 2 - Image Generator 3 - CSDEO Pro 4 - Shop By Price 5 - Next - Previous 6 - On Sale 7 - Shop By Price 8 - Froogle & Google Base Feed 9 - Buy Together 10 - Customer Loyalty Points 11 - Customer Reward Points Customer Reward Points Referral Add-on 12 - Product Reviews 13 - Other Custom Modifications ---------------------- http://www.townsqjewelry.com/ http://www.eroticnights4u.com/ <---- Adult Oriented - Toys |
|||||||
#208
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
Is their a way to wrap the images so that they display 4 across?
http://image-reflections.com/xcart/product.php?productid=31&cat=0&page=1&featured it's pushing my product information off the page and i have around 20 images to put here. |
|||||||
#209
|
|||||||||
|
|||||||||
Re: Lightbox JS v2.0 implementation
I have played with the code trying to figure out how to put the images in colmns and have them wrap at 3 across.
Such as Image Image Image Image Image Image Image Image Image Has anyone figured this out? If so do you mind sharing?
__________________
Cyber Matrix ------------------- X-Cart 4.1.9 |
|||||||||
#210
|
|||||||
|
|||||||
Re: Lightbox JS v2.0 implementation
i found a code that will do it
http://forum.x-cart.com/showthread.php?t=27058&page=5&highlight=thickbox+w rap post #46, just replace that code with your thickbox_productpage.tpl and change Line 16, Loop number to how many across you want |
|||||||
|
|||
X-Cart forums © 2001-2020
|