I think you want to access the login something like
http://localhost/login(if cake is in your webroot folder) then you
need to add a rule in the
config/routes.php
Router::connect('/login', array('controller'=>'users', 'action'=>'login'));
---
Norman Paniagua
Desarrollo / WSDcamp
+ 595 981 184 430
www.webcamp.com
Este correo contiene información confidencial y NO debe ser reenviada a otro
destinatario sin la autorización del remitente. Si Ud. recibe este correo
por error favor informe al remitente y elimine completamente la información
recibida.
2010/7/21 Germano <[email protected]>
> I can create a model and define it as Auth userModel on beforeFielter
> callback of your AppController.
>
> function beforeFilter() {
> $this->Auth->userModel = 'Login';
> .
> .
> .
> }
>
> and you can define inflections on bootstrap.php for pural of login
> become login to, and create LoginController as your user
> authentication controller.
>
> On 21 jul, 14:19, Velmurugan Kuberan <[email protected]> wrote:
> > Hi,
> >
> > I just want to create a login controller in cake.. the url will
> > probably like thishttp://localhost/cake/login/if i named the
> > controller like loginshttp://localhost/cake/logins/it 'll not sounds
> > good... is there any way of making the standalone controller for
> > login... i don't want it to be like
> thishttp://localhost/cakephp/users/login..
> >
> > Thanks
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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