[Phplib-users] Using a template as the content of another template.
Brought to you by:
nhruby,
richardarcher
|
From: Joe C. <jco...@co...> - 2002-06-30 14:33:07
|
Hello,
I just started using PHPLib about a week ago. I really like the template
feature, it definitely works as advertised. I do however have one question
that was not immediately evident from the documentation or mailing list
archives.
Does the PHPLib template system allow one template to be included into
another template? For example, I have defined an overall site template that
creates the general layout of my page. The only variable defined is
{Content}. The idea then is to have Content filled out by information from
a database or some separate file. This works great, but now I want to add a
form to the site. Can I replace {Content} with the contents of another
template that defined the page form or would it be better to generate the
form programmatically from PHP?
Thanks in advance,
Joe Cotellese
|