• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create Admin Section in CodeIgniter Project?

#6
(03-23-2017, 10:21 PM)Shivafeb17 Wrote: Hi all, 

I have created a simple project in CI. Now I want to create users and Admins. How to create an area only admin can login and modify data? Should I create an ADMIN Folder in APPLICATION folder and install another CI in it?

Hi...
I think it's depends on you, your need and your project scale. With CI you could create an admin folder in controller and put your admin controllers in it, and for view, create an specific folder in views folder, if you want to have a different view for admin section. Another option is separate installation for main (users) and admin (you). In this case, you must consider that there are some common codes between these two apps installation that cause you do more and more copy/paste.

You decide about these...
Good Luck.
Reply


Messages In This Thread
RE: How to create Admin Section in CodeIgniter Project? - by pb.sajjad - 06-21-2017, 12:03 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.