![]() |
Triangle icon on vertical category menu
Hi all,
just wondered if anyone could help me ID the piece of code in the category.tpl that puts the little triangles bullets infront of the items. I have successfully created a look-alike manufacturers list on the right vertical menu (so I have categories of product on the left and manufacturers on the right. I have managed to make the items in manufacturers bold. Now I just need to add the little triangle bullets infront of each one to make it match. Any advice much appreciated. Ladybird. |
Re: Triangle icon on vertical category menu
yep, the code that you are looking for is here:
modules/Manufacturers/menu_manufacturers.tpl after you are in there, to add the triangle icon in front of the manufacturers all you would need to do is change this code {if $show_other_manufacturers} <li><a href="manufacturers.php">{$lng.lbl_other_manufactu rers}</a></li> {/if} to {if $show_other_manufacturers} <li><img src="images/triangle.gif"><a href="manufacturers.php">{$lng.lbl_other_manufactu rers}</a></li> {/if} just make sure you change my line of code in red : <img src="images/triangle.gif"> to wherever your triangle image is located at. |
Re: Triangle icon on vertical category menu
HI thanks for that,
I have opened the template and it looks like this ... {* $Id: menu_manufacturers.tpl,v 1.5 2005/11/17 06:55:47 max Exp $ *} <strong> {if $manufacturers_menu ne ''} {capture name=menu} {section name=mid loop=$manufacturers_menu} <a href="manufacturers.php?manufacturerid={$manufactu rers_menu[mid].manufacturerid}" class="VertMenuItems">{$manufacturers_menu[mid].manufacturer}</a> <br /> {/section} {/capture} {include file="menu_border.tpl" dingbats="dingbats_categorie.gif" " menu_title=$lng.lbl_manufacturers menu_content=$smarty.capture.menu} <br /> </strong> </div> {/if} any suggestions because it doesn't have the {if $show_other_manufacturers} <li><a href="manufacturers.php">{$lng.lbl_other_manufactu rers}</a></li> {/if} to modify... |
Re: Triangle icon on vertical category menu
try to replace
Code:
{section name=mid loop=$manufacturers_menu} with Code:
{section name=mid loop=$manufacturers_menu} |
All times are GMT -8. The time now is 08:47 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.