View Single Post
  #10  
Old 01-25-2006, 10:58 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Ahhh..found the problem. Have a look at the way the table is rendered by X-Cart:

Code:
<table width="100%" border="1" cellspacing="1" cellpadding="1"> <tr> <td>1</td> <td>1</td> <td>1</td> <td>1</td> <td>1</td> <td>1</td> </tr> <tr> <td>2</td> <td>2</td> <td>2</td> <td>2</td> <td>2</td> <td>2</td> </tr> <tr> <td>3</td> <td>3</td> <td>3</td> <td>3</td> <td>3</td> <td>3</td> </tr> </table>

See all those
tags in there? You need to make a change to customer/main/subcategories.tpl:

replace this:

Code:
{$current_category.description|regex_replace:"/[\n]/":" "}

with this:

Code:
{$current_category.description}

I have that fixed by default in my X-Cart installation file, so I always forget it is in there
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote