ms2014
(Masoud Sawari)
March 14, 2014, 10:44am
1
Hi, Is there anyone who can help me?
I want an admin page on my website that I able to access it via the following URL for example:
http://www.example.com/admin/ControllerId/ActionId/
I Googled and I’ve looked at a lot of results:
This Link
and This Link
and This Link
and This Link
But I’ve yet to find a simple and practical solution. Can anyone help me in creating the admin page?
On small sites I prefer using modules. In this case module name would be ‘admin’.
ms2014
(Masoud Sawari)
March 14, 2014, 10:57am
3
How to create a module? I am a new.
ms2014
(Masoud Sawari)
March 14, 2014, 11:58am
5
Do gii can create a new module? There are a link for generate module. can i use it?
Hi[font="Arial"][size="2"] [/size][/font][font="Arial"][size="2"]Masoud Sawari[/size][/font]
first create a new module(like named admin ) using gii, it will go the modules folder
ms2014
(Masoud Sawari)
March 14, 2014, 12:22pm
7
Hi[font="Arial"][size="2"] [/size][/font][font="Arial"][size="2"]Masoud Sawari[/size][/font]
first create a new module(like named admin ) using gii, it will go the modules folder
Thanks, i do that but this is the first step. What must I do then? What are the other steps to create admin module? how to limit Administrator users to access admin module?
yes u can make separate login for admin, as u hv done at front end(as I think), there is also site controller, u can write your authentication rules there.
to manage the user…and its role folow this Rbac link this is very helpful…
click here
ms2014
(Masoud Sawari)
March 14, 2014, 5:50pm
9
yes u can make separate login for admin, as u hv done at front end(as I think), there is also site controller, u can write your authentication rules there.
to manage the user…and its role folow this Rbac link this is very helpful…
click here
I’ll try to do it but before that i need to create controllers, models and views in admin module. Thanks again for your guide.