View Single Post
  #8  
Old 07-22-2005, 09:06 AM
 
GoodHousePlans GoodHousePlans is offline
 

Member
  
Join Date: Jul 2005
Posts: 25
 

Default

He has a line in the readme which says the following:

Quote:
STEP 3) Save the below code as: xcart/skin1/customer/main/product_images.tpl

Unfortunately, it's not clear which code he means since there is no code below it.

I'll post the whole readme below as well:

Quote:
INSTALLATION:
Making a backup of your files is HIGHLY RECOMMENDED before Installing any modifications!

STEP 1) Copy the file customer/product_detailed_iamges.php into your xcart/ directory.

STEP 2) Copy the file skin1/detailed_popup_js.tpl into your xcart/ directory.

STEP 3) Save the below code as: xcart/skin1/customer/main/product_images.tpl

STEP 4) Edit your xcart/skin1/customer/main/product.tpl and locate the following code:

{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}

Replace it with the following code snippet:

{*** Detailed Image Popup mod by www.cart-lab.com ***}
{include file="detailed_popup_js.tpl"}
{if $active_modules.Detailed_Product_Images ne "" && $images}{strip}<A HREF="javascript: productimagedetail({$product.productid});">{/if}
{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}
{if $active_modules.Detailed_Product_Images ne "" && $images}

<CENTER>[img]{$ImagesDir}/preview.gif[/img]View Details</CENTER></A>{/strip}{/if}
{*** Detailed Image Popup mod by www.cart-lab.com ***}

STEP 5) You will need to remove the following code from the same product.tpl file to keep the detailed images from showing up on the details page:

{if $active_modules.Detailed_Product_Images ne ""}



{include file="modules/Detailed_Product_Images/product_images.tpl" }
{/if}

Either remove it or {* comment *} it out.

I can't figure out which code he wants me to save as product_images.tpl. I forgot what I tried yesterday but it still didn't work.
__________________
Version 4.0.14
Reply With Quote