Re: Horizontal Category Links
Absolutely!! Here it is (fexcerpt from head.tpl)
{*Horizontal Navigation Bar*}
<td class="HeadLine" height="45" align="center">
{if $config.General.root_categories eq "Y"}
{foreach from=$categories item=c}
<a href="home.php?cat={$c.categoryid}" </a>
<font color="99cccc">{$c.category}{if not %categories.last%} &n bsp;{/if}</font>{/foreach}
{else}
{foreach from=$subcategories item=c key=catid}
<font color="99cccc">{$c.category}{if not %categories.last%} ; & nbsp;{/if}</font>
{/foreach}
{/if}
{if ($usertype eq "C" || $usertype eq "B") && $all_languages_cnt gt 1}
<form action="home.php" method="get" name="sl_form">
<input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.Q UERY_STRING|amp}" />
<table cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px;"><b>{$lng.lbl_select_language}:</b></td>
<td><select name="sl" onchange="javascript: this.form.submit();">
{section name=ai loop=$all_languages}
<option value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected="selected"{/if}>{$all_languages[ai].language}</option>
{/section}
</select></td>
</tr>
</table>
</form>
{else}
{/if}
</td>
</tr>
{else}
__________________
X-Cart 4.1.9
|