Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Moving Detailed Image (Please Help)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-25-2003, 06:58 PM
 
theoverpass theoverpass is offline
 

Advanced Member
  
Join Date: Dec 2003
Posts: 31
 

Default 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
Reply With Quote
  #2  
Old 12-26-2003, 03:59 AM
 
jordan0 jordan0 is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: San Francisco, CA
Posts: 77
 

Default

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.
__________________
Jordan Sitkin
http://www.kitkraft.biz
X-Cart 4.0.18 [unix]
Reply With Quote
  #3  
Old 12-26-2003, 09:05 AM
 
theoverpass theoverpass is offline
 

Advanced Member
  
Join Date: Dec 2003
Posts: 31
 

Default

Worked like a charm, thanks very much
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:19 PM.

   

 
X-Cart forums © 2001-2020