View Single Post
  #22  
Old 08-01-2007, 02:09 PM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default Re: Manufacturer's logos listed on front page

Got it. This works in 4.0.17 and 4.0.19

root>skin1>modules>Manufacturers>menu_manufacturer s.tpl

Remove or put <!-- --> around this:

<A href="manufacturers.php?manufacturerid={$manufactu rers_menu[mid].manufacturerid}" class=VertMenuItems>{$manufacturers_menu[mid].manufacturer}</A>

Replace with:

<a href="manufacturers.php?manufacturerid={$manufactu rers_menu[mid].manufacturerid}"><img src="mlogo.php?manufacturerid={$manufacturers_menu [mid].manufacturerid} " alt="{$products[product].manufacturer}" border="0" /></a>

You may have to play with the alt tag a bit. alt="{$manufacturer.manufacturer}" and alt="{$product.manufacturer}" may work in your situation.

I didn't have to touch the php file. Hope this helps someone and glad I could contrib to this thread. Thanks for starting it.
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote