Re: [PHPTAL] Use of ${} vs tal attributes

2009-12-09 Thread Kornel LesiƄski
On 08-12-2009 at 21:05:20 Tjerk Meesters tjerk.meest...@gmail.com wrote: Also, errors will be silently ignored by default if you use ${}. Changing it to tal:content, for instance, without an alternative (using pipe syntax) would throw a template exception if the used expression could not be

[PHPTAL] Resetting a collection's index

2009-12-09 Thread romtek
Hi, What is an approach to use if there's a need to iterate over the same collection more than once in a template? Currently, it seems that a collection's index/pointer is set at the end of the collection, and another iteration isn't possible. Using v. 1.2.1. Roman

Re: [PHPTAL] PHP newline consumption

2009-12-09 Thread romtek
This would also be useful for generating plain text email. On Wed, Dec 9, 2009 at 5:59 PM, Tjerk Meesters tjerk.meest...@gmail.comwrote: Just out of curiosity, why does this bother you? In (x)html newlines are at best considered one white-space. Are you using this inside pre ? On 12/10/09,