Saturday, December 27, 2008

Re: login script

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 <poojapinj...@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: