Re: [SMARTY] ignore tag ?

From: Date: Fri, 17 May 2002 08:31:07 +0000
Subject: Re: [SMARTY] ignore tag ?
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4268@lists.php.net to get a copy of this message
Hi, Pupeno wrote:
Well., comments doesn't solve my problem...
I think they would:
with the ignore tag it would be something like: - --------------------------------------------- <!--{ignore}--> <some headers I don't wanna show because are just for the editor> <!--{/ignore}-->
If you do this {* <some headers I don't want to show..> *} Smarty will ignore those headers, but your editor won't. In case your visual editor chokes on {* *}, you could even do this: <!--{* --> <some headers I don't want to show <!-- *}--> Smarty will render this as: <!----> since anything between {**} will be stripped. Your visual editor will see the smarty comments as html comments, so it will ignore those, and just render the headers. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#4268) next »