Need Help Completing a Mod for 4.1.3
Hey Guys, this is my first attempt at a MOD, I got it working for 4.0.19 but I need to change it for filesystem rather than calling from the database for 4.1.3 and was hoping some of you brainiacs could help. In return obviously I am sharing this very simple MOD :)
In skin1/customer/main/product.tpl Change the call for product_thumbnail.tpl to product_thumbnail2.tpl Create product_thumbnail2.tpl with the following code: {* $Id: product_thumbnail.tpl,v 1.14 2004/06/24 09:53:29 max Exp $ *} {if $config.Appearance.show_thumbnails eq "Y"}<a href=#><IMG id="{$id}" src="{if $tmbn_url}{$tmbn_url}{else}{if $full_url}{$http_location}{else}{$xcart_web_dir}{/if}/image.php?productid={$productid}{if $file_upload_data.file_path}&tmp=y{/if}{/if}"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} alt="{$alt|strip_tags:false|strip}" border="0" onclick="window.open('{if $full_url}{$http_location}{else}{$xcart_web_dir}{/if}/image.php?productid={$productid}{if $file_upload_data.file_path}&tmp=y{/if}', 'IS_pop','width={$image_x+$image_x+20},height={$im age_y+$image_y+50},menubar=no,location=no,resizabl e=no,scrollbars=no,status=no');"></a>{/if} In 4.0.x this will create a simple "click on thumbnail for full-size pop-up" MOD Unfortunately though in 4.1.3 I use the filesystem for all my images and this MOD calls from the database. Please can somebody tell me how to change this code to simply call up the image I am clicking on in a pop-up window? Thanks and I hope this code helps out some people :) |
Re: Need Help Completing a Mod for 4.1.3
Nobody have any input for this at all?
|
Re: Need Help Completing a Mod for 4.1.3
Shaun, inf Xcart 4.1.3 there´s an option at General Settings -> Detailed Product Images options, that let´s you link to a popup, maybe it´s useful for your case.
|
Re: Need Help Completing a Mod for 4.1.3
Thank you for the input :)
|
All times are GMT -8. The time now is 02:06 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.