info@ektanjali.com +91 99276-99286

CakePHP 4.x User Management Premium Plugin Version 4.1.x

Must Know Necessary Things

You must follow the necessary things for better use of this plugin-

App Controller (yourapp/src/Controller/AppController.php) Follow README file instructions
This controller must use 'Flash', 'RequestHandler', 'Usermgmt.UserAuth' and 'FormProtection' components.
This controller must have 'paginate' override function.

 

CakePHP Auth Component
This plugin is uses CakePHP 4.x built in Auth component.
You can change Auth component configuration in UserAuth component setAuthConfig function.

 

Application (yourapp/src/Application.php) Follow README file instructions
This file is used for loading plugins.
Please load User Management Plugin in this file bootstrap function
$this->addPlugin('Usermgmt', ['routes' => true]);

Please note in above syntax  'routes' => true must present.

 

CSS and JS files Follow README file instructions
Your layout must include external plugins.

 

Library and Image Folder
By default profile photos folder name is umphotos (yourapp/webroot/library/umphotos)
This folder must have write permissions for e.g. 777 permissions
Also library folder (yourapp/webroot/library) should have write permissions for e.g. 777 permissions
Please create blank index.php file in these folders