That's a reasonable approach to take; yes. On Tue, May 12, 2009 at 10:40 AM, dnoop <[email protected]> wrote:
> > Hi sorry for making my question so obscure .... I had a home.ctp which > should contain a login form ... Right now i just redirected the index > to login ... is it posssible by making login.ctp as a element and > including it in home.ctp ...? > > On May 9, 7:47 pm, brian <[email protected]> wrote: > > What are you trying to do? Include the form as an element? Redirect to > > the login form? > > > > On Sat, May 9, 2009 at 1:04 AM, dnoop <[email protected]> wrote: > > > > > Hi, > > > I am a newbie here and i was doing one user profile > > > system .. seems almost everything is working fine .. in my but when i > > > went to apply it to my design i just need a login form only ...no > > > need of the original index page which shows list of users .. what > > > should i do ..? > > > > > $this->redirect(array('controller' => 'users', 'action' => 'login')); > > > > > is this the correct way to do it ...? > > > I just wanted to include login form along with registration form > > > too ... should i put login as an element ..? Please help > > > > > with regards > > > Anoop > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
