I'm working on a store using v 4.2. I'm using the speed bar to create a static navigation for the site. For some reason, the list of pages/links gets generated in reverse order and I can't figure out how to correct it.
The code in my home.tpl file looks like this:
Code:
{if $speed_bar}
<ul class="subnav">
{foreach from=$speed_bar item=sb}
<li><a href="{$sb.link|amp}">{$sb.title}</a></li>
{/foreach}
</ul>
{/if}
And it generates this:
Code:
<ul class="subnav">
<li><a href="pages.php?pageid=12">Contact Us</a></li>
<li><a href="#">Order Tracking</a></li>
<li><a href="#">Site Map</a></li>
<li><a href="pages.php?pageid=11">Policies</a></li>
<li><a href="pages.php?pageid=10">Shipping Info</a></li>
<li><a href="pages.php?pageid=9">Links</a></li>
<li><a href="http://petiteposh.wordpress.com/">Blog</a></li>
<li><a href="pages.php?pageid=8">Articles</a></li>
<li><a href="pages.php?pageid=7">Questions?</a></li>
<li><a href="pages.php?pageid=6">About Us</a></li>
<li><a href="home.php">Home</a></li>
</ul>
In my x-cart admin, Home is Position 10, About Us is Position 20, Questions? is Position 30, etc.
Is there a setting in the Admin that I need to change to put the list in the right order?