| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Format speedbar with border off on last tab | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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
__________________
x-cart 4.2 |
|||||||
#2
|
|||||||||
|
|||||||||
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!!
__________________
~ Andrea Beight |
|||||||||
|
|||
X-Cart forums © 2001-2020
|