get the login working within the users controller have auth set in app controller - set login redirecto to pages display home
include the login for in home.ctp via an elemet (the form points to users login) also pages does have a controller its just does not use a model (add parent::beforeFilter to this controller) - S On 13 July 2012 18:03, Andrew Johnston <[email protected]> wrote: > Thanks Steve, but that doesn't quite answer my question. Can home.ctp be a > login page? As it has no controller I don't know where I could put the Auth > components. > > Andrew > > > On Friday, July 13, 2012 7:42:27 AM UTC-4, Steve wrote: >> >> You can use a Eagle User Management Plugin that gives Login options. I am >> using a great Plugin original cost $197 , now at an offer price of 30$ >> which gives Login with FB, Twitter, Foursquare, LinkedIn, Google, Yahoo and >> it has 56 more features. Check website http://www.eagle.** >> getyourplugin.com <http://www.eagle.getyourplugin.com> >> >> On Friday, July 13, 2012 2:29:47 AM UTC+5:30, Andrew Johnston wrote: >>> >>> Hello Everyone- >>> >>> I'm new to CakePHP and I'm a bit confused with the idea of login forms. >>> I've read just about every page I could find on the issue, but none of them >>> seemed to mirror my problem exactly. >>> >>> I'm using Wordpress for the static portion of my site and I wanted to >>> have a link that said "Login". Upon clicking the link it would take the >>> user to a form with the standard email/password boxes. When the user >>> submitted the data, only then would it pass it over solely to the web app, >>> which would verify the user, log them in, and redirect them to the home >>> page of the web app. Is this possible? >>> >>> Follow up question: If it would be easier/possible, can I modify my >>> home.ctp to be a login form? If so, how? >>> >>> Thank you everyone for bearing with me as I struggle through this. I >>> love Cake and it really is making my job easier! >>> >> -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
