1

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..

1
  • Create a new layout called login, then apply the Tim Fountain's solution Commented Feb 17, 2013 at 10:53

1 Answer 1

2

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');
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.