Re: [SMARTY] include_block
Paul Pogonyshev <[email protected]> Fri, 22 Dec 2006 02:07:09 +0200
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
boots wrote: > I've never used it myself, but there is user contributed plugin at the wiki > that is something similar to what you propose: > http://smarty.incutio.com/?page=BlockWrapPlugin $smarty = clone($smarty) I believe this is inefficient. May be wrong. > It may be better to implement your own solution as a pair of compiler plugins > rather than a block plugin that the above plugin uses. It may well be as long as it can be done cleanly. If someone can propose a clean plugin (or make _smarty_include public and with a better/more understandable calling scheme), it should be no worse than original proposal. Paul -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php