View Single Post
  #69  
Old 04-21-2009, 07:19 AM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default Re: Tela Firma - X-Cart Mods

I got X-Cart to replace Telafirma's code with their own one based on C Erdmanns plugin however I forgot to get them to reproduce the script responsible for the detailed images popup - thumb_popup.php.

I'm trying to change URL of my cart which is now causing license errors with the popup that I can't rectify because of Telafirma's unavailability. Has anyone managed to get their own version of this file working?

It's called from the product page like this:

{* New Dynamic Image Mod - TelaFirma *}
{if $product.tmbn_url}

{math equation="(z/(y/x))+300" y=$product.image_x x=$config.Appearance.popup_image_width z=$product.image_y assign="p_y" format="%.d"}
<a href="javascript:void(0);" onClick="window.open('xcartdir/thumb_popup.php?productid={$product.productid}','m ywindow','width=350,height=600')">
{/if}
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$config.Appearance.product_image_width product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" class="NoBorder" alt=$product.product|escape}{if $product.tmbn_url}</a>{/if}


Dan
__________________
4.4.2

and

4.6.1
Reply With Quote