| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Triangle icon on vertical category menu | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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.
__________________
x-cart gold 4.1.9 x-cart gold 4.1.5 www.makeuwell.com.au www.amberbebe.com Sydney Australia |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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.
__________________
X-Cart Gold v4.2.0 [Linux] Add-On: X-Magnifier Altered Cart Add-On: One Page Checkout |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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...
__________________
x-cart gold 4.1.9 x-cart gold 4.1.5 www.makeuwell.com.au www.amberbebe.com Sydney Australia |
|||||||
#4
|
|||||||||
|
|||||||||
![]() try to replace
Code:
with Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
|
|||
X-Cart forums © 2001-2020
|