Re: How to use a Smarty variable outside the template file ?
| From: | Mike Krus | Date: | Tue, 24 Jul 2001 07:17:36 +0000 |
| Subject: | Re: How to use a Smarty variable outside the template file ? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1271@lists.php.net to get a copy of this message | ||
Luc Saint-Elie wrote:
No, its a regular XML file, the PHP header seems to be added by the fetch action, the first 3 lines I posted are not part of the original file that start by the classical : <?xml version="1.0" encoding="ISO-8859-1"?> I think I know why: Smarty thinks the <? ?> are PHP delimiters. Try playing with the Smarty PHP code handling options. I think there is oneyou can set to "PASSTHROUGH" to tell Smarty to leave it alone... Mike