Re: [SMARTY] Re: Email Template Formatting
| From: | Paul Lockaby | Date: | Fri, 14 Feb 2003 23:31:36 +0000 |
| Subject: | Re: [SMARTY] Re: Email Template Formatting | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7777@lists.php.net to get a copy of this message | ||
Thomas Schulz wrote:
Paul Lockaby schrieb in php.smarty.general:Ok, I did that. I don't like having to undeclare the output filter and then redeclare it whenever I send an email, but I don't see any other way, other than not using the output filter. Thank you! ~Paul LockabyThat was indeed my problem. I have a followup question, though. I have the output filter enabled with the following command: $smarty->load_filter("output","trimwhitespace"); I want to enable this filter for all other templates, just not the email template. How difficult is it to do that?I think you have to try these methods (i never do): http://smarty.php.net/manual/en/api.register.outputfilter.php http://smarty.php.net/manual/en/api.unregister.outputfilter.php