Re: Unwanted Space in Main/SubCategories.tpl
Remove second <p>... didn't seem to matter. Not sure what you mean by 'get rid of table in your code'. All I did was replace the default dingbats graphic with the title_categories.gif in the includes at the bottom of the customer/subcategories.tpl.
but here's that template...
{* $Id: categories.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *}
{capture name=menu}
{if $active_modules.Fancy_Categories ne ""}
{include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"}
{else}
{if $config.General.root_categories eq "Y"}
<div id="categories">
{section name=cat_num loop=$categories}
<A href="home.php?cat={$categories[cat_num].categoryid}" class="VertMenuItems">{$categories[cat_num].category}</A>
{/section}
</div>
{else}<div id="categories">{section name=cat_num loop=$subcategories}
<A href="home.php?cat={$subcategories[cat_num].categoryid}" class="VertMenuItems">{$subcategories[cat_num].category}</A>
{/section}
</div>
{/if}
{/if}
{/capture}
{ include file="menu.tpl" dingbats="title_categories.gif" menu_title=$lng.lbl_categories_store_head menu_content=$smarty.capture.menu }
Let me know if I'm missing your point... I probably am!
__________________
Aspen Best Buy Network
X-Cart 4.0.19
Unix
|