![]() |
does anyone know how to get the drop down menu to sit inside the say Manufacturers box? Ive asked this a while ago in this thread but no responses as yet?? See www.supplementzone.com.au
thanks so much!! |
Quote:
I'm usig x-cart gold 4.0.13 and ths script works fine. Code:
{* $Id: menu_manufacturers.tpl,v 1.4 2004/06/22 05:38:52 max Exp $ *} Just replace everything in /modules/Manufacturers/menu_manufacturers.tpl with the above code and make sure to make a backup copy of the original file just in case you need to revert. |
Quote:
Defiantly an improvement than the default menu list, but I wanted all of the mfr's listed and the other mfr. link removed. I also truncated long mfr names to keep the drop down menu small. kudos! Code:
{if $manufacturers_menu ne ''} |
anyone managed to do a drop-down search for the subcategories?
|
Bug?
I'm using the code listed two posts before mine (Boomer).
There seems to be a minor bug though... - Go to http://www.southernhotrod.com/store/ You will see manufacturers in a dropdown. Works Great. - Now click on "About Us" (top menu). The manufacturers menu is now blank. * the manufacturers menu is blank on all pages in the 'help' section. Can someone please suggest a fix? :Stacey |
Try changing any instance: $manufacturers to $manufacturers_menu
|
That did the trick :D
Thanks Boomer! |
Quote:
I've already combined the two into my menus so the drop down appears above the links. Just looking for that little added bonus. :) |
Quote:
yeh im after getting the full list all catagories, not just the main ones. any ideas on what to change on the code? Code:
<form name="form_cat" method="get" action="home.php"> |
Manufacturers menu drop down! By Marcelo
X-cart 4.1.1
1. Create manufactures.tpl in skin1/customer (blank file) 2. Now drop this code: {* $Id: menu_manufacturers.tpl,v 1.5 2005/11/17 06:55:47 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>Search By Manufacturer</option> {section name=mid loop=$manufacturers_menu} <option value="{$manufacturers_menu[mid].manufacturerid}">{$manufacturers_menu[mid].manufacturer}</option> {/section} </select> </form> {*if $show_other_manufacturers} {$lng.lbl_other_manufacturers} {/if*} {/capture} {include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_manufacturers menu_content=$smarty.capture.menu} {/if} 3. Save 4. In the skin1/customer/home.tpl change this line: { include file="modules/Manufacturers/menu_manufacturers.tpl" } for this one { include file="customer/manufacturers.tpl" } 5. Done (works with php and html catalog) |
All times are GMT -8. The time now is 11:10 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.