Profile
Achievement
aashvi's Recent SnippetsTagged array
- 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
2412
posted 13 years ago by aashvi