Re: [SMARTY] {assign_by_ref} or sth. similar in a template
| From: | pobox@verysmall.org | Date: | Tue, 18 Dec 2007 19:36:47 +0000 |
| Subject: | Re: [SMARTY] {assign_by_ref} or sth. similar in a template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13793@lists.php.net to get a copy of this message | ||
Hi Ben,
To my knowledge you can't do that. Smarty is executed in a linear manner (same as php - I do not think your example would work in php either).
I think I imagine your problem - you would like to display something let's say at the top of the page, but you do not have access to it until later. I guess, if this is the case, you will need some architectural decision, which to provide you with this information at an earlier point.
All the best,
Iv