GHengeveld |
|
---|---|
I completely understand not going with Twig. Actually I have to say I wouldn't do it myself either, because it will simply be much more work to build this in, instead of improving on what we already have. I was merely trying to start a discussion.
One thing that I would like to see in XTemplate is support for the modulo operator (usable for odd/even for example) and the option to use regular blocks (BEGIN...END) within IF/ELSE blocks (nesting). Also having an ELSE for BEGIN...END blocks would be nice (parsed when there are no items in the loop, for messages like "No records found"). There's some more interesting things listed here (see Built-in Extensions). Actually I could probably build this in myself, but I'd like to get some approval before I go there. |