View Single Post
  #63  
Old 01-12-2011, 09:41 PM
 
xtech xtech is offline
 

X-Adept
  
Join Date: Jun 2010
Posts: 605
 

Default Re: Manufacturers with icons on customer_manufacturers_list.tpl

Quote:
Originally Posted by Cankus
/common_files/modules/Manufacturers/menu_manufacturers.tpl (4.4.1)

{* $Id: customer_manufacturers_list.tpl,v 1.6 2005/11/21 12:42:10 max Exp $ *}
{capture name=dialog}
{assign var="tmp" value="0"}
{section name=mid loop=$manufacturers}
{if $manufacturers[mid].manufacturerid}{assign var="tmp" value="1"}{/if}
{/section}

{section name=mid loop=$manufacturers}
{ if %mid.first% }
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
{/if}
{ if %mid.index% is div by 4}
<tr>
{/if}
<td align="center" valign="middle">
<table bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" border="0"><tr><td height="70">
<a href="manufacturers.php?manufacturerid={$manufactu rers[mid].manufacturerid}"><b>{$manufacturers[mid].manufacturer}</b><br><img src="{$xcart_web_dir}/image.php?id={$manufacturers[mid].manufacturerid}&type=M" /></a></td></tr>
<tr><td align="center" valign="middle"></td></tr></table>


</td>
{ if %mid.last% }
</tr>
</table>
{/if}
{/section}
{/capture}
{include file="dialog.tpl" content=$smarty.capture.dialog extra="width=100%"}

Hi Cankus the above code set is working but there is a problem see the attachment below-http://www.thefashiontree.com/brandlogo.jpg

It should be Logo only not Manufacturer is not specified that is at least 4 or five logo Vertically and other on more options.

How to achieve that??
__________________
X-cart Platinum
4.6.1
Reboot template
Reply With Quote