Reputation:
I am using zend framework for my application I have created all controllers and phtml files. Now I need to keep a login page. How can I create a login page without displaying the default.phtml contents.
sombody please help me..
Upvotes: 1
Views: 70
Reputation: 33148
Rather than disabling the layout you probably want to get the login action to use a different layout instead. In your controller:
$this->getHelper('layout')->setLayout('login');
Upvotes: 2