thanks! it works like a charm.
I didnt have the
in there because the code sniplet i posted was a stripped down version of what im using... i have my menu setup in tables.
http://www.aheadgames.com/cart/customer/home.php
Here's the /customer/categories.tpl I'm using if anyone wants to do anything similar.. you might have to change things a bit to work with your cart.
Code:
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="250">
{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
<tr>
<td height="20" background="../../images/categorybg.gif">
<p align="left" class="menutext">
{ $categories[cat_num].category|escape }</td>
</tr>
{if $cat eq $categories[cat_num].categoryid}
{section name=subcat_num loop=$subcategories}
<tr>
<td height="20" background="../../images/categorybg.gif" class="menutext">
{ $subcategories[subcat_num].category|escape }</td>
</tr>
{/section}
{/if}
{/section}
{/if}
<tr>
<td height="20" background="../../images/categorybg.gif" class="menutext">
{$lng.lbl_gift_certificates}</td>
</tr>
<tr>
<td background="../../images/categorybgshadow.gif" height="18">
<font face="Arial" size="1"></font></td>
</tr>
</table>