RE: [Phplib-users] Using more than one template instance on a single page
Brought to you by:
nhruby,
richardarcher
From: Layne W. <la...@if...> - 2002-12-17 22:08:59
|
> I am trying to separate some logic in an application. The easiest way > seem sto be to use two template instance with two separate roots (I've > also considered using one template instance and setting the root part > way thru). <snip> > Having done this how do I then combine the content of the two instances > using parse and print? Can I use get_vars? Yes. $page->set_var("content", $content->get_var("content")); $page->pparse("out", "page"); Layne Weathers Ifworld Inc. |