View Single Post
  #19  
Old 06-06-2010, 03:25 PM
 
Ajay Ajay is offline
 

Advanced Member
  
Join Date: Jul 2005
Posts: 50
 

Default Re: Highlight current page in speedbar

I want to remove the link on the tab, when same page is being viewed. So I made this change to skin1/customer/head.tpl . This is in 4.2.x
Quote:
<div class="tabs">
<ul>
{foreach from=$speed_bar item=sb}
{if $smarty.server.REQUEST_URI|replace:"/shop/":"" eq $sb.link }
<li class="current" >{$sb.title}</li>
{else}
<li><a href="{$sb.link|amp}">{$sb.title}</a></li>
{/if}
{/foreach}
</ul>
</div>

And then you can change the color of .current class as you wish
__________________
Xcart Pro version 4.4.3
Reply With Quote