| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
V 4.2 Speed Bar generated in reverse order | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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:
And it generates this: Code:
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?
__________________
X-Cart version 4.1.10 and 4.2 for client sites Sandi Gauder CMS Web Solutions Inc. cmswebsolutions.com |
|||||||
#2
|
|||||||||
|
|||||||||
![]() it's feature(bug?) of 4.2
It's original skin uses float:right for tabs so they should be putted on the page in reverse order. you can list tabs in reverse order in template: Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||
|
|||||||
![]() That is an odd feature (?). Thanks Victor!
__________________
X-Cart version 4.1.10 and 4.2 for client sites Sandi Gauder CMS Web Solutions Inc. cmswebsolutions.com |
|||||||
#4
|
|||||||
|
|||||||
![]() I've got this problem happening too... the speed bar appears in reverse order on the store front, but in the ADMIN section, the speed bar appears in the correct (original) order! What's even stranger is that both the store front and the admin section both use the same customer/head.tpl code...
My pages don't use CSS float:right. We use CSS text-align:right, so that should remove the need for the speed bar items to be placed in reverse order. Observation: It almost looks as though the speed bar items are being placed by code into $speed_bar in reverse order for the store front, but placed into $speed_bar in normal (original) order. Is that correct? If so, that would suggest that $speed_bar is created in two separate locations in the code, and one has been altered to compensate for the CSS float:right instruction. Where can I find one (or both) of the $speed_bar definitions to fix it up? Cheers, Dan
__________________
xcartpro4.2 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Customers header with speedbar is in the skin1/customer/head.tpl
Admins one is in skin1/head.tpl change foreach cycle to section in template according to post #2
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
|
|||
X-Cart forums © 2001-2020
|