in reply to Reverse sort order in FOREACH in Template Toolkit
Don't do complicated loops in the template, move that stuff out in the a custom plugin. It will be easier to work with in direct Perl code that try and work around some of the syntax short-comings in Template Toolkit.
TT is intended for presentation not for manipulating and sorting complicated data structures. Move that stuff of the out of the template all together when you can.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reverse sort order in FOREACH in Template Toolkit
by punch_card_don (Curate) on Apr 16, 2009 at 02:07 UTC | |
by Herkum (Parson) on Apr 16, 2009 at 03:00 UTC |