| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Sorting Array in Smarty Alphabetically | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi All,
I was wondering, is there some way of using a foreach loop in smarty and sorting alphabetically. I am retrieving a list of Newlists from the DB on the register screen, so in register.tpl I am stepping through. Similar to: Code:
I would like to build the list of checkboxes ordered by name. Does anyone know how to do this? Thanks, FWM.
__________________
X-Cart 4.1.9 X-Cart 4.4.1 X-Cart Platinum 4.6.1 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Thsi may help
http://www.smarty.net/forums/viewtopic.php?t=1079
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thanks Steve,
That worked.
__________________
X-Cart 4.1.9 X-Cart 4.4.1 X-Cart Platinum 4.6.1 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|