Re: [SMARTY] Parsing a string as template
Maximillian Schwanekamp <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
Monte Ohrt wrote: > About the easiest way I've handled this is two templates: Joe Stump wrote: > It has and, in my case, I found it *much* easier to cache the string to > a temporary template file and parse that. Thanks for the input gentlemen. I guess the two-template solution (actually three, cause I have message.tpl.txt for the Text-only version as well!) could work. I'll probably use that for the "significant" messages, and perhaps Joe's temporary file solution for quick solutions where a designer is not likely to be involved. -- Maximillian Von Schwanekamp http://www.neptunewebworks.com/ -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php