-- Sebastian Poręba <[EMAIL PROTECTED]> wrote
(on Tuesday, 29 May 2007, 08:55 AM +0200):
> 2007/5/29, Kevin McArthur <[EMAIL PROTECTED]>:
> > I'm trying to upgrade several sites to 1.0 but my sites tend to use a main
> > template (engine.tpl) plus a set of sub templates (actionName.tpl)
> > (menu.tpl) etc... it seems fairly evident how to sub-render, but with outer
> > most template always being the same file, how do you set this with the view
> > renderer's automatic actions to set the $view->content variable to the
> > actionName template automatically.
>
> as far as I remember, there was a proposal of advanced templates
> management, but not ready yet. For now, You can still render Your
> templates manually.
> Adding:
>
> function init()
> {
> $this->initView();
Just a note: When using the ViewRenderer, the above line is never
necessary.
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/