Hi All,
Thanks everyone for the great mod - just what I wanted!!!
To save anyone with the X-Cart "Fashion" Mosaic a little time I have list the code I used below - should work on all X-Cart fashion mosaic skins.
Cheers and hope is useful!!!
Code:
{capture name=menu}
<TABLE border="0" width="100%" cellpadding="0" cellspacing="0" align="center"{if $main eq "catalog" and $current_category.category eq ""} height="214"{/if}>
<TR>
<TD valign="top">
{if $active_modules.Fancy_Categories ne ""}
<TABLE border="0" width="150" cellpadding="0" cellspacing="0" align="center"{if $main eq "catalog" and $current_category.category eq ""} height="214"{/if}>
<TR>
<TD valign="top">
{include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"}
</TD>
</TR>
</TABLE>
{else}
{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
{if $cat eq $categories[cat_num].categoryid || $current_category.parentid eq $categories[cat_num].categoryid}
[img]{$ImagesDir}/customer_images/vert_menuwelc_bullet.gif[/img]{$categories[cat_num].category}
{else}
[img]{$ImagesDir}/customer_images/vert_menu_bullet.gif[/img]
{$categories[cat_num].category}<HR size="1" noshade class="CateMenuHr">
{/if}
{if $cat eq $categories[cat_num].categoryid || $current_category.parentid eq $categories[cat_num].categoryid}
{section name=subcat loop=$allcategories}
{if $allcategories[subcat].parentid eq $categories[cat_num].categoryid}[img]{$ImagesDir}/customer_images/vert_menu_bullet.gif[/img]
{if $cat eq $allcategories[subcat].categoryid}{/if}{$allcategories[subcat].category}{if $cat eq $allcategories[subcat].categoryid}{/if}
{/if}
{/section}
<HR size="0" noshade class="CateMenuHr">
{/if}
{/section}
{else}
{section name=cat_num loop=$subcategories}
<FONT class="CategoriesList">[img]{$ImagesDir}/customer_images/vert_menu_bullet.gif[/img]
{$subcategories[cat_num].category}</FONT>
{/section}
{/if}
{/if}
</TD>
</TR>
<TR>
<TD valign="bottom">
<TABLE border="0" width="100%" cellpadding="14" cellspacing="0" align="center">
<TR>
<TD>
{if $js_enabled}
{$lng.txt_javascript_disabled}
{else}
{$lng.txt_javascript_enabled}
{/if}
</TD>
</TR>
<TR>
</TABLE>
</TD></TR>
</TABLE>
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu style="Categories"}
