![]() |
Format speedbar with border off on last tab
Hi, newbie working on my first cart. I'm trying to mod the speedbar to check for the last tab so I can turn off the right border. Added this IF statement.
{if $speed_bar} <div class="tabs"> <ul> {foreach from=$speed_bar item=sb} {if $smarty.section.sb.last} <li class="tab_last"><a href="{$sb.link|amp}">{$sb.title}</a></li> {else} <li><a href="{$sb.link|amp}">{$sb.title}</a></li> {/if} {/foreach} </ul> </div> {/if} Still showing the last border. Am I formatting this correctly? TIA! Lisa |
Re: Format speedbar with border off on last tab
I'm trying to figure out the same thing. The smarty code that Phil provided in this thread doesn't seem to work in 4.2: http://forum.x-cart.com/showthread.php?t=45183
Hi Lisa!! :) |
All times are GMT -8. The time now is 06:53 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.