View Single Post
  #40  
Old 04-28-2010, 04:10 AM
  FTI's Avatar 
FTI FTI is offline
 

Senior Member
  
Join Date: Oct 2009
Location: Plovdiv, Bulgaria
Posts: 153
 

Default Re: Manufacturers Drop Down

Is this going to work in 4.3.1, I've tried the code but they still show up like a list, not like dropdown...

Here is my code, where is my mistake?

Code:
{* $Id: customer_manufacturers_list.tpl,v 1.11 2009/04/17 13:03:10 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} <h1>{$lng.lbl_manufacturers}</h1> {capture name=dialog} {include file="customer/main/navigation.tpl"} <ul class="manufacturers-list list-item"> {foreach from=$manufacturers item=v name=mfgs} <li><a href="manufacturers.php?manufacturerid={$v.manufacturerid}">{$v.manufacturer|escape}</a></li> {/foreach} </ul> <select name="mfg" id="mfg"> {foreach from=$manufacturers item=v} <option value="manufacturers.php?manufacturerid={$v.manufacturerid}">{$v.manufacturer|escape}</option> {/foreach} </select> {include file="customer/main/navigation.tpl"} {/capture} {include file="customer/dialog.tpl" title=$lng.lbl_manufacturers content=$smarty.capture.dialog noborder=true}

Thanks in advance!
__________________
Version 4.2.3
X-Cart Gold

Version 4.3.1
X-Cart Gold
Reply With Quote