Re: Lightbox JS v2.0 implementation
ARGH!!!
I have got to be doing something wrong. Here is my product.tpl file (the top part of it). I have tried to comment out that line in the instructions but it seems if I do that, it will leave an if statement unopened.
It is just so a Friday in December before the holidays! Can someone give me a hand here.
Quote:
{* $Id: product.tpl,v 1.147.2.15 2007/05/11 08:00:26 max Exp $ *}
{include file="main/include_js.tpl" src="main/popup_image.js"}
{if $active_modules.Special_Offers}
{include file="modules/Special_Offers/customer/product_offers_short_list.tpl" product=$product}
{/if}
{include file="form_validation_js.tpl"}
{if $product.product_type eq "C" && $active_modules.Product_Configurator}
{include file="modules/Product_Configurator/pconf_customer_product.tpl"}
{else}
{capture name=dialog}
<form name="orderform" method="post" action="cart.php?mode=add" onsubmit="javascript: return FormValidation();">
<table width="100%" cellspacing="15">
<tr>
<td class="PImgBox">
{if $active_modules.Detailed_Product_Images ne "" && $config.Detailed_Product_Images.det_image_popup eq 'Y' && $images ne '' && $js_enabled eq 'Y'}
{include file="modules/Detailed_Product_Images/popup_image.tpl"}
{elseif $product.force_image_type eq 'W' && $product.variantid}
{include file="product_thumbnail.tpl" productid=$product.variantid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="W"}
{else}
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"}
{/if}
{include file="thickbox/thickbox_productpage.tpl"}
{if $active_modules.Magnifier ne "" && $config.Magnifier.magnifier_image_popup eq 'Y' && $zoomer_images ne '' && $js_enabled eq 'Y'}
{include file="modules/Magnifier/popup_magnifier.tpl"}
{/if}
</td>
<td valign="top" width="100%">
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><b><font class="ProductDetailsTitle">{$lng.lbl_details}</font></b>
</td></tr>
|
__________________
-
-
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
|