Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

Change/Disable the default layout/Set layout in Zend Framework

Hello Friends,

I have started working on Zend Framework just before couple of days. Zend Framework is MVC based and easier to work with. The power of any Framework is its core library, Zend Frameword also have a wide range of functions in its core library which makes most of the programming task easier. Now a days, all frameworks provide the layouts options in views. With use of layout, you can seperate out the common view. It may happen that you have more than one layout. By default Zend Framewok calls the layout.phtml file for layout. If you want to change the default layout than you can define it in Controller. Also for Ajax request, if you want to hide/disable the layout than you have to define it in Controller. Below are the syntax.



1 Comment

Leave a Reply

Your email address will not be published.