Create a simple login form for admin.
Create a admin_login function in users controller or whatever controller 
you are using.
Redirect users after login to admin_index function

There is a tutorial in cookbook. you just need to set admin => true for 
admin login function.

On Saturday, 4 May 2013 07:40:21 UTC+5:30, steve van christie wrote:
>
> hi 
>
> i want to learn the simple cake php application that have admin (with 
> login) and user default. is there any web references to learn cakephp 
> tutorial like that? right now, i'm just learn the code from the code 
> generated by cake bake, but i face the problem about the login admin 
> separate from default user.
>
> thank you so much in advance
>
> best regards
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to