Re: [PHP Template] Revised proposal
[email protected] (Dan Libby) Fri, 18 Feb 2000 13:59:05 -0800
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
One could argue that this belongs at the application level, above the templating system. In fact, I've done something kind of similar here as a testcase. Basically, I wrappered tmpl_include() with a cobrand_include() and then it includes the correct template for a given cobrand based on hostname. Still, the ability to use multiple templates with the same piece of code is an attractive feature and I believe we should think about how to generalize it if possible. -dan Andrei Zmievski wrote: > On Fri, 18 Feb 2000, Dan Libby wrote: > > This would actually be quite useful for things like cobranding and i18n. > > Sure it would be useful. The challenge is in coming up with a usable > syntax and structure that works. > > -Andrei > * I don't mind going nowhere as long as it's an interesting path. *