Quote:
Originally Posted by PhilJ
Quote:
In what .tpl would I place this code
|
skin1/customer/home.tpl
copy the code to a new file - skin1/customer/manufacturers.tpl
replace the code
Code:
{ include file="modules/Manufacturers/menu_manufacturers.tpl" }
with
Code:
{ include file="customer/manufacturers.tpl" }
|
*** Just wanted to alter PhilJ's words abit but with alot appreciated to you for creating this code tho!! Thanks! ***
I was abit confused when i read his comment.
For manufacturers only!!!
Basicly, you created "manufacturers.tpl" and drop it in "skin1/customer/"
Copy this code below in manufacturers.tpl:
Code:
<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>
In "skin1/customer/home.tpl":
find:
Code:
{ include file="modules/Manufacturers/menu_manufacturers.tpl" }
replace with
Code:
{ include file="customer/manufacturers.tpl" }
reload your homepage!!! Tada!!








for PhilJ!!