问题
I am new to CakePHP and want an admin panel on my custom CMS for a client. Is there any way other than just linking to an admin page to each controller that I can pull views from other controllers such as users and posts?
回答1:
Here is a great article on creating a admin section for CakePHP Creating an Admin Section with CakePHP
回答2:
BrowniePHP could be helpful. Its a plugin for CakePHP that will save you time on backend development work.
回答3:
The better and cleaner way will be to put all your pages of admin under controllers. For example: controllers/admin
回答4:
You can try PoundCake Control Panel. It is still in beta but may be useful.
回答5:
The easiest and fasted way to add an admin panel to cakephp is to use a plugin: https://github.com/Maldicore/Admin
回答6:
This is very detailed and a great article on how to create an admin panel in cakephp - Cakephp 3 admin panel-Cakephp admin backend
来源:https://stackoverflow.com/questions/1926252/cakephp-admin-panel