You forgot the extension of your view-script

e.g.
$this->view->navbar = $this->render('navbar.phtml');

This works for me.

Greets
Holger

Jim Pringle wrote:
Been using Code Igniter for years and feeling out ZF. Just trying to figure out how i can render a "view" into a variable so I can echo it out in the template. Any thoughts? Thanks!

This of course doesn't give me what I hope for:

$this->view->navbar = $this->render('navbar');


Reply via email to