is it using joint table? But im not clear about it. Sorry, im newbie.

On Wed, Aug 24, 2011 at 8:59 PM, Mohd Hasnol <[email protected]> wrote:

> Hi,
>  Sorry :).
>
> Let me explain. i have 2 roles which are admin and members.it can be many
> admin and members. For admin i can add new admin using add function in users
> controller and using users table. For member i would like using add function
> in members controller and members table since members have many
> attributes(username, password,name,etc..) compare to users table(only
> username and password).
>
> Then, the login function need username and password in users table. How
> could i use username and password in members table to login?
>
> In this situation, admin will set the username and password for the member.
> But then member can change it after they login.
>
> Thanks.
>
> On Wed, Aug 24, 2011 at 8:17 PM, euromark <[email protected]>wrote:
>
>> maybe its just me - but i really can't follow you.
>> after reading it three times :)
>>
>> also the headline does not seem to make sense to me..
>> please clarify (with live example code etc)
>>
>>
>>
>> On 24 Aug., 11:18, nOLL <[email protected]> wrote:
>> > Hi,
>> >
>> > Is it possible to add in attributes from multiple controller into one
>> > model?
>> >
>> > I would like to use certain attributes from other model(username and
>> > password only in members table) into users table.
>> > therefore, members could login to the website based on username and
>> > password that fill in by the admin from the add member function in
>> > members controller.(not using add function in users controller).
>> >
>> > Thanks.
>>
>> --
>> 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

Reply via email to