Re: [SMARTY] in my.tpl : { $somevar } should -according to the docs- output the var $somevar
| From: | Glenn Martin | Date: | Mon, 25 Apr 2005 10:07:38 +0000 |
| Subject: | Re: [SMARTY] in my.tpl : { $somevar } should -according to the docs- output the var $somevar | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12544@lists.php.net to get a copy of this message | ||
Yes you must assign a value...
$mySmarty->assign('somevar', 'assigned value');
Smarty will only parse what you TELL it too... what if you are writing a page for smarty, that explains how to write smarty tags? :-p makes sense doesnt it?
Glenn Martin
On Apr 24, 2005, at 3:37 PM, Kevin Coyne wrote:
but it doesn't. Did i get this wrong? Do i have to use $mySmarty->assign? -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php