X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Moving Detailed Image (Please Help) (https://forum.x-cart.com/showthread.php?t=5732)

theoverpass 12-25-2003 06:58 PM

Moving Detailed Image (Please Help)
 
Hey,

I moved my detailed image up to where the thumbnail would usuallly apear in the product discription. But im trying to figure out how to make the table around it go away.

Heres what it currently looks like:
http://www.ingenioustees.com/store/customer/product.php?productid=16135&cat=248&page=1

The code I replaced the thumbnail with is this
Code:

{* $Id: product_images.tpl,v 1.10 2003/08/11 10:45:10 svowl Exp $ *}
{if $images ne ""}
{capture name=dialog}
<div align=center>
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
[img]{$images[image].tmbn_url}[/img]
{else}
[img]{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}[/img]
{/if}




{/if}
{/section}
</div>
{/capture}
{if $smarty.capture.dialog ne ""}
{include file="dialog.tpl" title=$lng.lbl_detailed_images content=$smarty.capture.dialog extra="width=100%"}
{/if}
{/if}


So I figure its part of that thats got to go to rid myself of the table but I just dont know what. Anyone got some insight?

Thanks,

Steve

jordan0 12-26-2003 03:59 AM

Try this:

Code:

{* $Id: product_images.tpl,v 1.10 2003/08/11 10:45:10 svowl Exp $ *}
{if $images ne ""}
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
[img]{$images[image].tmbn_url}[/img]
{else}
[img]{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}[/img]
{/if}

 

 
{/if}
{/section}
{/if}


The part about the {capture} and dialog.tpl is what is drawing the extra box.

theoverpass 12-26-2003 09:05 AM

Worked like a charm, thanks very much :D


All times are GMT -8. The time now is 07:35 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.