Create login.ctp in /app/views/layouts then tell your action to use
it.

function login() {
$this->layout = 'login';
}

I'm guessing this is what you want.  If you give us a bit more
information you'll probably get a better answer though :-)

On 27 Dec, 17:44, mona <[email protected]> wrote:
> Can anyone tell me how to set the layout of this page i m having
> fields username and password
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to