Re: Login

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


Oracle group by bug

2009-02-27 Thread Germano

Hi, i try use a group by sql with a find('all') method in a oracle
database configuration but didnt worked. I use the same $condition
array with mysql with success.

Does anyone knows anything about this?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Composite Primary Keys

2008-09-18 Thread Germano

I work in a company with a legacy database designed using relations
with composite primary keys and change the database is not an
option...

Cake does not support an array of keys by default to set model`s
$primaryKey.

Is there any plugin or update in sight??

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---