Re: How to use a Smarty variable outside the template file ?
| From: | Maciek Uhlig | Date: | Tue, 24 Jul 2001 07:12:27 +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-1270@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Luc Saint-Elie [mailto:luc@saint-elie.com]
> <?php /* Smarty version 1.4.4, created on 2001-07-24 07:46:46
> compiled from ../xml_files/cachecache/cachecache.xml */ ?>
> <?php echo '<?xml version="1.0"
> encoding="ISO-8859-1"?>'; ?>
>
> <article>
> <category/>
> <version><![CDATA[.......and so on
>
> The 3 first lines apparently fool the XML parser....
isn't it possible to get rid of them setting $show_info_header to false?
Maciek