logo       

Re: [SMARTY] Why won't this work?: msg#00447

php.smarty.general

Subject: Re: [SMARTY] Why won't this work?

This is a known issue, and a fix has been committed to CVS.

The behavior of SMARTY_PHP_REMOVE has been altered though, it only
removes the PHP tags themselves and not everything between them. If this
is an issue for anyone let me know.

Now you can put anything in the templates and it should parse correctly,
even recursive syntax such as:

<?php echo '<?php echo "blah"; ?>'; ?>

Monte

On Thu, 2003-01-30 at 08:49, philippe.morange@xxxxxxxxxxxxxxx wrote:
> If I want to use Smarty to generate XML content, I'll have this in my
> template:
> <?xml somestuff="{$var}" ?>
>
> But it generates a parse error.
> This is wrong, as it should work the above line should work...
--
Monte Ohrt <monte@xxxxxxxx>


--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise