Post by rogery » Wed Jan 19, 2011 9:26 pm

Can anyone tell me how to display Manufacturers as a list (as with categories) rather than as a dropdown list?

Thanks,

Roger

New member

Posts

Joined
Wed May 26, 2010 5:55 pm

Post by JAY6390 » Thu Jan 20, 2011 3:07 am

Open
/catalog/view/theme/default/template/module/manufacturer.tpl
and replace the code in there with the following

Code: Select all

<div class="box">
  <div class="top"><img src="catalog/view/theme/default/image/brands.png" alt="" /><?php echo $heading_title; ?></div>
  <div class="middle" style="text-align: center;">
    <ul>
<?php foreach($manufacturer as $m): ?>
      <li><a href="<?php echo str_replace('&', '&', $m['href']); ?>"><?php echo $m['name']; ?></a></li>
<?php endforeach; ?>
    </ul>
  </div>
  <div class="bottom">&nbsp;</div>
</div>
Note you will need to do some styling changes

Jay

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by rogery » Thu Jan 20, 2011 3:39 am

Thanks Jay. I appreciate your response but I have now found a commercial module that I really like though so will use that.

Roger

New member

Posts

Joined
Wed May 26, 2010 5:55 pm

Post by JAY6390 » Thu Jan 20, 2011 3:42 am

Oh OK no problem :)

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by Microbe » Sat Nov 05, 2011 5:55 pm

Am I missing something? there is no manufacturer.tpl or reference to that script anywhere.

Newbie

Posts

Joined
Tue Nov 01, 2011 9:36 am
Who is online

Users browsing this forum: Amazon [Bot], Baidu [Spider] and 14 guests