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

box or bourder around products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-08-2004, 05:35 PM
 
realnet1 realnet1 is offline
 

Advanced Member
  
Join Date: Mar 2004
Location: Illinois
Posts: 69
 

Default box or bourder around products

I would like to know if there is away to place a bourder around all the products, something like a thin frame


using 4.05
php 5.1
Reply With Quote
  #2  
Old 11-08-2004, 07:14 PM
 
emil emil is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 8
 

Default

hi,

you can try editing, customer/main/products.tpl

and add

style="border: 1px solid #000000;"

into the first "table tag" you find

eg:

<TABLE border="0" width="100%" style="border: 1px solid #000000;">
__________________
Happy Dayz
--------------------------------------
www.sefama-vega.com (3.4.13)
--------------------------------------
under dev(V3.5.9)
under dev(V4.0.5)
Reply With Quote
  #3  
Old 11-09-2004, 07:54 AM
 
realnet1 realnet1 is offline
 

Advanced Member
  
Join Date: Mar 2004
Location: Illinois
Posts: 69
 

Default box frame around products

Her is where i change tpl but does not work any thing you see ?


{* $Id: products.tpl,v 1.45.2.1 2004/08/23 05:24:43 max Exp $ *}
{if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 4 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")}
{include file="customer/main/products_t.tpl" products=$products}
{else}
{if $products}
{section name=product loop=$products}
{assign var="discount" value=0}
<TABLE border="0" width="100%"style="border: 1px solid #000000;">
<TR><TD width="90" align="center" valign="top">
<A href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}">{i nclude file="product_thumbnail.tpl" productid=$products[product].productid
Reply With Quote
  #4  
Old 11-09-2004, 12:36 PM
 
emil emil is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 8
 

Default

hi you did the right thing,

but try to add a space between the width and the style

i think thats why it may not be working[/quote]
__________________
Happy Dayz
--------------------------------------
www.sefama-vega.com (3.4.13)
--------------------------------------
under dev(V3.5.9)
under dev(V4.0.5)
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 12:24 PM.

   

 
X-Cart forums © 2001-2020