Apply for Zend Framework Certification Training

Zend Framework 1




In Zend Framework 1, if you want to change the layout just for one action
or for every action in a controller How do you do it without overriding the 
layout for every action throughout the entire application?


 Within controller
$this->_helper->_layout->setLayout('other-layout') //other-layout.phtml

Within view script
$this->layout()->setLayout('other-layout'); 
                                    

< Zend framework 1 structure How to attatch stylesheet in Zend framework1 >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top