In an endless effort to make X-Cart less obsessed with column menus (new feature=new column menu), I put the manufacturers in a dropdown selector. Just a cut and paste of codes, but maybe someone can use the solution. The "if" statement is in there, so manufacturers should be enabled or disabled in "Modules" respectively.
Be sure to keep the "absolute" URL in value, as the links won't work correctly when in the html catalog. I'm using it in the head.tpl inside one of the tables <TD> tag sets.
Code:
{if $manufacturers_menu ne ''}
<form name="ManufacturerMenu">
<select onChange="location=this.options[this.selectedIndex].value;" style="font-size:11px; color:#333333; width:140px;">
<option>Shop By Manufacturer</option><option value="http://yourdomain.com/store/home.php">---------------------------</option>
{section name=mid loop=$manufacturers_menu}
<option value="http://yourdomain.com/store/manufacturers.php?manufacturerid={$manufacturers_menu[mid].manufacturerid}">{$manufacturers_menu[mid].manufacturer}</option>
{/section}
</select>
</form>
{else}
{/if}
- Mike