![]() |
speed bar sort order?
I moved the speed bar to the left hand menu, so it could be a vertical list The speed bar sort order is now backwards.
the last item is displayed first and the first item displayed last. How do i correct this? |
Re: speed bar sort order?
|
Re: speed bar sort order?
Code:
{section name=sb loop=$speed_bar step=-1} |
Re: speed bar sort order?
Phil, menu goes blank :(
|
Re: speed bar sort order?
Strange, all you need to do is add step=-1
http://www.smarty.net/manual/en/language.function.section.php |
Re: speed bar sort order?
it was originally a foreach statement
|
Re: speed bar sort order?
original code
{foreach from=$speed_bar item=sb} <li><a href="{$sb.link|amp}" target="_blank">{$sb.title}</a></li> {/foreach} |
Re: speed bar sort order?
Code:
{section name=sb loop=$speed_bar step=-1} |
Re: speed bar sort order?
awesome, worked perfectly.
|
All times are GMT -8. The time now is 07:05 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.