Re: [PHP Template] recursive templates

From: Date: Fri, 18 Feb 2000 19:38:52 +0000
Subject: Re: [PHP Template] recursive templates
References: 1  Groups: php.template 
Request: Send a blank email to php-template+get-157@lists.php.net to get a copy of this message
On Fri, 18 Feb 2000, waltb wrote: > Howdy, > Will this template engine do recursive parsing of templates to build a > page? > I want to be able to write 1 php script that handles all of my templates > without having to > know the template heirarchy prior to parsing the templates. I'm using > FastTemplate now, > and the problem I have with it now is, when I write a script that uses > it, I have to already > know the entire template tree to know where to get the values/files to > fill in the template > variables. So, if I add a new template variable, I have to change the > the parsing script > to handle it. > I want to be able to have 1 script that handles all templates. The > template variables can be filled > in by included php code, or modules. > > Does this make any sense? Yes, and you will be able to do that through the use of {{include ..}} construct. -Andrei * If it ain't broken, it doesn't have enough features yet. *

« previous php.template (#157) next »