Posted by "Cal Henderson" on 08/18/05 03:14
Cal Henderson <cal@iamcal.com> wrote:
: Ivo Jansch <ivo@ibuildings.nl> wrote:
:: But this doesn't work for some reason. The compiler chokes on the
:: '$variable|nl2br' part, where in regular non-compiler tags, this
:: works. How can I make it work?
:
: use a capture and then output it?
:
: {capture assign='foo'}{parse $variable}{/capture}{$foo|nl2br}
:
: or for pre-modifying,
:
: {assign var='variable' value=$variable|nl2br}
:
:
: how is your 'parse' compiler different from eval?
:
: http://smarty.php.net/manual/en/language.function.eval.php
:
:
: --cal
Navigation:
[Reply to this message]
|