Re: Strip - support for multiple templates...
| From: | Webmaster Flash France | Date: | Mon, 10 Sep 2001 09:43:09 +0000 |
| Subject: | Re: Strip - support for multiple templates... | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1457@lists.php.net to get a copy of this message | ||
>> >>>>> "Webmaster" == Webmaster Flash France
>> >>>>> <dubucm@flash-france.com> writes:
>>
>> Webmaster> Hi everyone, i am finalizing a project using smarty
>> Webmaster> .... and after a short look in the doc. i saw the
>> Webmaster> {strip} custom function.
>>
>> Webmaster> I say'd woh Great :)
>>
>> Webmaster> But i tried to put a {strip} at the beginning of my
>> Webmaster> header and {/strip} at the end of my footer template
>> Webmaster> and it didn t work ...
About that i saw that in the compiler you do a preg replace between
strip and /strip ... that's why I think there is no way to have a
{strip} in one template and a {/strip} in one other.
but if you think it could be possible to implement i think it's a good
feature....
because when you have something like 100 templates... or a config var
in the compiler to strip all the templates without using {strip}
{/strip} ...
______________________________________
Cordialement,
Martin DUBUC mailto:dubucm@wawawoom.com