In a certain controller i want to pass content from another module/controller into the layout script by using the Zend_View_Helper_Action view helper. After calling "$this->view->action(....);" in the controller "$this->layout()->content;" in the view is empty. How is this possible?
##### Controller ########## ... $moduleContent = $this->view->action('login', 'index', 'mod_user'); // Content is correct $this->view->placeholder('sidebar')->set($moduleContent); ... ##### View ########## ... <div id="nav"> <?php echo $this->action('index', 'index', 'mod_menu'); // Works fine! ?> </div> <div id="content"> <?php echo $this->layout()->content; // No content using "$this->view->action(....);" in the controller. ?> </div> <div id="sidebar"> <?php echo $this->placeholder('sidebar'); // Works fine! ?> </div> ... -- View this message in context: http://www.nabble.com/Problem-with-Zend_Layout-and-Zend_View_Helper_Action-tp16002216s16154p16002216.html Sent from the Zend Framework mailing list archive at Nabble.com.