Re: [SMARTY] How to make custerm block fuction like {literal}?
| From: | Roman Neuhauser | Date: | Wed, 31 Jul 2002 11:12:55 +0000 |
| Subject: | Re: [SMARTY] How to make custerm block fuction like {literal}? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5532@lists.php.net to get a copy of this message | ||
> To: smarty-general@lists.php.net
> Date: Wed, 31 Jul 2002 14:18:18 +0900
> From: Hansuck Jo <junye76@yahoo.co.kr>
> Subject: [SMARTY] How to make custerm block fuction like {literal}?
> I want to write {highlight} like {literal}.
since processing {literal} elements is hardcoded in
Smarty_Compiler.class.php in a not-so-modular way, you'll have to
bite the bullet, or hack Smarty, or convince Monte to do it.
or you could probably turn your block plugin into a prefilter.
--
FreeBSD 4.6-STABLE
1:09PM up 20:45, 9 users, load averages: 0.24, 0.07, 0.02