Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-23-2008, 06:28 PM
Junior Member
 
Join Date: Mar 2008
Posts: 2
Default Zend_Layout - Content without view helper

I try to add a variable to the default content placeholder without using the viewHelper, but it doesn't work (empty output):

public function htmlAction() {
$this->_helper->viewRenderer->setNoRender();
$this->_helper->layout()->content = "nice";
}

assigning content to another placeholder works (like sidebar).

Best regards.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:32 PM.