Re: [phplib] Inserting PHP Files using Templates From: Fred Yankowski (fred <email protected>)
Date: 01/04/01

I find that it works better for my purposes in PHP to use a kind of
"inverted" templating, extracting the constant parts from the template
(as named blocks) and inserting them in the appropriate places in the
content files. I wrote this up at
<http://www.ontosys.com/php/templates.html>.

On Thu, Jan 04, 2001 at 01:55:49PM -0600, Brian Popp wrote:
> I am not interested in embedding PHP in my templates. I agree that this
> defeats the purpose of using templates. Instead I have a template that has
> the general look and feel for my site. On that template file I have a
> {content} tag that I want to replace with a sub-page.

-- 
Fred Yankowski           fred <email protected>      tel: +1.630.879.1312
Principal Consultant     www.OntoSys.com       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>