Quote:
Originally Posted by Danielle
That worked great, thank you!  Here is my whole code from menu_manufacturers.tpl, try just copying and pasting it and hopefully it will work for you too!
|
One last attempt that works, and let the manufacturer.php link anyway (doesn't rely on the list limit).
Manufacturers list limit (leave empty if unlimited): 0
(in Manufacturer otions menu in admin)
Code (replace the existing code, works for 4.1.9) :
File:
/modules/Manufacturers/menu_manufacturers.tpl
------------------------------------------------
{* $Id: menu_manufacturers.tpl,v 1.4 2004/06/22 05:38:52 max Exp $ *}
{if $manufacturers_menu ne ''}
{capture name=menu}
<form name="form_manuf" method="get" action="manufacturers.php">
<select name="manufacturerid" onChange="document.form_manuf.submit()">
<option value="0" selected>Recherche...</option>
{section name=mid loop=$manufacturers_menu}
<option value="{$manufacturers_menu[mid].manufacturerid}">{$manufacturers_menu[mid].manufacturer|truncate:12:"...":true}</option>
{/section}
</select>
</form>
<br />
<a href="manufacturers.php" class="VertMenuItems">{$lng.lbl_other_manufacturer s}</a><br />
{/if}
{/capture}
{include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_manufacturers menu_content=$smarty.capture.menu}
<br />
----------------------------------------------
Et voilЮ !
Philippe