View Single Post
  #3  
Old 08-13-2003, 02:21 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Okie, so this is just from me making a educated guess, im not really trying to do this on an actual running x-cart so its difficult to say if it will work as it should....

First edit customer/home.php and add the following line after:

Code:
require "./featured_products.php";

Code:
if($active_modules["Detailed_Product_Images"]) include "../modules/Detailed_Product_Images/product_images.php";

This way you know the array for $images for detailed images is avail to use... next you'll need to edit skin1/customer/main/products_t.tpl and do something like...

Code:
{if %product.index% eq 0}{if $images ne ""}

on the <a href><img src=> where the image is displayed on the first product.index you'll need to copy the code from the modules/ tpl for displaying the images and nest them in the {if %product.index%} statement.

hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote