Cakephp 2.x User Management Premium Plugin Version 2.1
- Introduction
Last update on 17-Sep-2012 - All Features
Last update on 17-Sep-2012 - Requirement
Last update on 17-Sep-2012 - For Beginners
Last update on 17-Sep-2012 - Must Know Necessary Things
Last update on 17-Sep-2012 - Login/Registration
Last update on 17-Sep-2012 - Site Configurations
Last update on 17-Sep-2012 - Image Resize Helper
Last update on 07-Apr-2013 - Pagination
Last update on 07-Apr-2013 - Ajax Pagination
Last update on 07-Apr-2013 - Sorting
Last update on 07-Apr-2013 - Ajax Sorting
Last update on 07-Apr-2013 - Ajax Search
Last update on 07-Apr-2013 - Ajax Form Validations
Last update on 07-Apr-2013 - Multiple Groups To User
Last update on 07-Apr-2013 - Site Page Permissions
Last update on 07-Apr-2013 - Miscellaneous
Last update on 07-Apr-2013 - Upgrade Premium Version
Last update on 07-Apr-2013 - Upgrade Free to Premium
Last update on 07-Apr-2013 - Plugin Bug Fixes
Last update on 07-Apr-2013
Must Know Necessary Things
You must follow the necessary things for better use of this plugin-
- App Controller (yourapp/app/Controller/AppController.php)
- This controller must use 'Form', 'Html', 'Session', 'Js', 'Usermgmt.UserAuth', 'Usermgmt.Image' helpers.
- This controller must use 'Session','RequestHandler', 'Usermgmt.UserAuth' components.
- This controller must have 'userAuth' private function.
- This controller must have 'beforeFilter' function and should call 'userAuth' from inside it.
- Plugin already has Security feature. If you want use security on rest of the pages of site you should use 'Security' component in this controller.
- Bootstrap (yourapp/app/Config/bootstrap.php)
- This file is used for loading plugins.
- Please load User Management Plugin in this file
CakePlugin::loadAll(array('Usermgmt' => array('routes' => true, 'bootstrap' => true)));
- Please note in above syntax 'routes' => true, 'bootstrap' => true must present.
- beforeFilter (a function in any controller)
- If you use this function in your controller you must have parent::beforeFilter(); as a first line in this function.
- If you do not use parent::beforeFilter(); in this function this can break authentication functionality of your site.
- Basically authentication is controlled from beforeFilter function of App Controller. If you use beforeFilter function in other controller this means you are overriding this function, In this case App Controller beforeFilter function will not execute. For avoiding this you should use parent::beforeFilter(); in any overrided beforeFilter function.
- Plugin CSS
- You must include plugin css in your default layout(yourapp/app/View/Layouts/default.ctp)
- echo $this->Html->css('/usermgmt/css/umstyle');
- Image Folder
- By default profile photos folder name is umphotos (yourapp/app/webroot/img/umphotos)
- This folder must have write permissions for e.g. 777 permissions
- Also img folder (yourapp/app/webroot/img) should have write permissions for e.g. 777 permissions
- Google and Yahoo Authentication
- If google and yahoo authentication are not working on your website please contact me at chetanvarshney@gmail.com