Re: [PHP Template] Revised proposal
| From: | Dan Libby | Date: | Fri, 18 Feb 2000 21:59:05 +0000 |
| Subject: | Re: [PHP Template] Revised proposal | ||
| References: | 1 2 3 4 5 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-177@lists.php.net to get a copy of this message | ||
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. *