View Single Post
  #1  
Old 01-21-2005, 03:19 PM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default Manufacturers Drop Down

I have a drop down for the manufacturers MODULES->MANUFACTURERS->MENU_MANUFACTURERS.TPL, code here

<form name="form_manuf" method="get" action="manufacturers.php">
<select name="manufacturerid" onChange="document.form_manuf.submit()">
<option value="0" selected>Search By Manufacturer</option>
{section name=mid loop=$manufacturers_menu}
<option value="{$manufacturers_menu[mid].manufacturerid}">{$manufacturers_menu[mid].manufacturer}</option>
{/section}
</select>
</form>

However it does not seem to display more than 10 records and is not in alphabetical order, could anyone point me in the right direction to resolve these 2 issues.

Many Thanks in Advance

John
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote