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.
$this->_helper->layout->setLayout('layout2');
$this->_helper->layout->disableLayout();
Posts Related to Change/Disable the default layout/Set layout in Zend Framework
Set Meta Title (Page Title) in CakePHP 1.2/1.3
Hello Friends, As i mention in my previous posts, CakePHP 1.3 come up with lots of new syntax changes. I was looking for a Meta ...
[Dreamweaver] Open .thtml .ctp .phtml (view) Files in Dreamweaver
I am working with Famous PHP Frameworks i.e. CakePHP and Zend Framework in recent days. For CakePHP, view file extensions are either ctp or thtml ...
How to include multiple javascript files in Zend Framework
Hello Friends, If you are working with javascript files and using Zend Framework than you must be aware with how to include javascript files in ...
Facts of Drupal-PHP Open Source CMS
Drupal was originally written by Dries Buytaert and it became an open source project in 2001. Drupal is an English rendering of the Dutch word ...
Multiple MYSQL Database Connection with Zend Framework
Hello Friends, Do you want to make a connection with multiple database in Zend Framework? Today i worked on multiple MYSQL database connection in Zend ...
You can leave a response or trackback from your own site.






I am