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

stupid round boarder thingies!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-27-2005, 01:28 AM
 
slade slade is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: new zealand
Posts: 64
 

Default stupid round boarder thingies!

hi x-cart people i need your help! i am trying to get rounded boarders round my products im nearly there but my products aint next to each other like they shud b they are going down the page like the example below can somone please help me fix this problem will be much appreciated

http://www.restrainonline.com/ass.gif



Code:
{* $Id: products_t.tpl,v 1.10.2.7 2004/12/23 09:11:59 max Exp $ *} <TABLE border="0" width="100%" cellpadding="0" cellspacing="0"><TR><TD class="TableThumbnailBorder"> <TABLE border="0" width="100%" cellpadding="5" cellspacing="1"> {math equation="floor(100/x)" x=$config.Appearance.products_per_row assign="width"} {section name=product loop=$products} {assign var="discount" value=0} {if %product.index% is div by $config.Appearance.products_per_row} <TR> {assign var="cell_counter" value=0} {/if} {math equation="x+1" x=$cell_counter assign="cell_counter" } <TABLE border="0" cellpadding="0" cellspacing="3" id="table1"> <TR> <TD valign="top" class="DialogBox"> <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0" background="{$ImagesDir}/top.gif" id="table2"> <tr> <td align="left" valign="top"> [img]{$ImagesDir}/ctl.gif[/img]</td> <td align="right"> [img]{$ImagesDir}/ctr.gif[/img]</td> </tr> </table> <TABLE width="190" height="220" border="0" align="center" cellpadding="2" cellspacing="2" class="menutable" id="table3"> <TR> <TD align="center" valign="top" width="100%" class="DialogBox"> {$products[product].product} {if $active_modules.Special_Offers ne "" and $products[product].have_offers} {include file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]} {else} <TABLE cellpadding="3" cellspacing="0" border="0"><TR> <TD height="100" align="center"> {include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} </TD></TR> </TABLE> {/if} {$lng.lbl_see_details} {if $active_modules.Subscriptions ne "" and $products[product].catalogprice} {include file="modules/Subscriptions/subscription_info_inlist.tpl"} {else} {if $products[product].taxed_price ne 0} {if $products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price} {math equation="100-(price/lprice)*100" price=$products[product].taxed_price lprice=$products[product].list_price format="%d" assign=discount} {if $discount gt 0} <FONT class="MarketPrice">{$lng.lbl_market_price}: <S> {include file="currency.tpl" value=$products[product].list_price} </S></FONT> {/if} {/if} <FONT class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</FONT> <FONT class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</FONT>{if $discount gt 0} {$lng.lbl_save_price} {$discount}%{/if} {if $products[product].taxes} {include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes}{/if} {else} <FONT class="ProductPrice">{$lng.lbl_enter_your_price}</FONT> {/if} {/if} {if $active_modules.Feature_Comparison ne '' && $products[product].fclassid > 0} {include file="modules/Feature_Comparison/compare_checkbox.tpl" id=$products[product].productid} {/if} {*** Uncomment it if you need 'Buy Now' button *** {if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl" product=$products[product]} {/if} *** Uncomment it if you need 'Buy Now' button ***} </TD> </TR> </TABLE> <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0" background="{$ImagesDir}/bottom.gif" id="table4"> <tr> <td align="left" valign="top"> [img]{$ImagesDir}/cbl.gif[/img]</td> <td align="right"> [img]{$ImagesDir}/cbr.gif[/img]</td> </tr> </table> </TD> </TR> </TABLE> {capture name=prod_index} {math equation="index+x+1" index=%product.index% x=$config.Appearance.products_per_row} {/capture} {if $smarty.capture.prod_index is div by $config.Appearance.products_per_row } </TR> {/if} {/section} {if $cell_counter lt $config.Appearance.products_per_row} {section name=rest_cells loop=$config.Appearance.products_per_row start=$cell_counter} <TD class="DialogBox"></TD> {/section} </TR> {/if} </TABLE> </TD></TR></TABLE> {if $active_modules.Feature_Comparison ne '' && $products && $printable ne 'Y'} {include file="modules/Feature_Comparison/compare_selected_button.tpl"} {/if}
__________________
www.supremeroofing.co.nz
Reply With Quote
  #2  
Old 07-27-2005, 02:00 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

silly question maybe but hve you checked in admin/general settings/appearance options

that you have the
Display products list in multiple columns (1-3) (leave empty to use standard format):

set to 3 ???
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #3  
Old 07-27-2005, 02:08 AM
 
slade slade is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: new zealand
Posts: 64
 

Default

yup done that i cant figure out wat i done wrong i checked ur site out i luv it besides the mens butts lol the site was awsome
__________________
www.supremeroofing.co.nz
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 01:17 PM.

   

 
X-Cart forums © 2001-2020