Profile
Achievement
aashvi's Recent SnippetsTagged sort
- All /
« Prev 1 Next »
How to sort array in smarty template?
>> Create sort modifier file and save it in smarty / plugins with
modifier.sortby.php name
use this modifier in smarty template like...
{foreach item=item key=key from=$users|@sortby:"firstname"}
{$item.i...
0
2425
posted 13 years ago by aashvi