View Single Post
  #51  
Old 06-07-2010, 03:26 AM
  DrQuietus's Avatar 
DrQuietus DrQuietus is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 81
 

Default Re: Manufacturers with icons on customer_manufacturers_list.tpl

Going through the posts, this is my .tpl in 4.3:

Code:
<h1>{$lng.lbl_manufacturers}</h1> {capture name=dialog} {include file="customer/main/navigation.tpl"} {assign var="tmp" value="0"} {section name=mid loop=$manufacturers} {if $manufacturers[mid].manufacturerid}{assign var="tmp" value="1"}{/if} {/section} <ul class="manufacturers-list list-item"> {section name=mid loop=$manufacturers} <li> <a href="manufacturers.php?manufacturerid={$manufacturers[mid].manufacturerid}"> <img src="image.php?id={$manufacturers[mid].manufacturerid}&type=M" /><br /> {$manufacturers[mid].manufacturer}</a> </li> {/section} </ul> {/capture} {include file="customer/dialog.tpl" title=$lng.lbl_manufacturers content=$smarty.capture.dialog noborder=true}

Then just style the list.
__________________
Dave Jones
dave@industrialwebworks.net
Mostly 4.7.2 - 4.7.5
Reply With Quote