Did you try this one?
$this->loadModel('Users');
On Monday, August 25, 2014 10:39:59 AM UTC+7, Hasrul Mikael wrote:
>
> Hai,
> I'm new in CakePHP. Currently I got a problem in my task.
> I had assigned to create a Plugin name UserManagement and Login in
> app/Plugin/
> The Plugin UserManagement already has completed. But now I having a
> problem in Plugin Login. Actually I need to use User Model from Plugin
> UserManagement in Plugin Login. However, I don't know how to write a
> scripts and what steps first I should taken?
>
> I try before, create LoginsController in Controller. But It display an
> error mentioned that I need to create Model first. Infact that, I actually
> plan to use Model from UserManagement.
>
> Please assists. Thank you.
> Sorry..my English is bad. TT_TT
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.