Parsing smarty tags inside plugins
[email protected] (Marcus Bointon)
| Newsgroups | php.smarty.dev |
|---|---|
| Message-ID | <BD539878.36F69%[email protected]> |
I'm writing a Smarty plugin for handling translations. One thing I'd like to be able to handle is embedding smarty tags in the translations. Can I do this using the existing Smarty instance that's passed in to the plugin, or do I need to fire up a separate instance and parse the translation text before passing it back to the calling template? Are there any other factors I need to consider in this structure? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [email protected] | http://www.synchromedia.co.uk