Re: [SMARTY] template variables in template variables

From: Date: Mon, 15 Apr 2002 16:40:37 +0000
Subject: Re: [SMARTY] template variables in template variables
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3739@lists.php.net to get a copy of this message
If you create an eval modifier, I suppose it would work :-) Ivo Jansch wrote:
Hello Monte, Monte Ohrt wrote:
Yep, check out the eval function.
Nice function! In the examples, I saw usage is like this: {eval var="foo"} Can it also be used like this: {$foo|eval} ? This is more friendly and doesn't cloud my templates with {eval} statements. (And also because then I can apply it as default modifier to every template variable, so it's transparent if the contents of the variable contains nested stuff or not.) Greetings, Ivo
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#3739) next »