info@ektanjali.com +91 99276-99286

CakePHP 2.x User Management Premium Plugin Version 2.3.x

Must Know Necessary Things

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

  1. App Controller (yourapp/app/Controller/AppController.php) Download App Controller
    • 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.
    • This controller must have 'paginate' override function.
    • 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.
  2. Bootstrap (yourapp/app/Config/bootstrap.php)
      • This file is used for loading plugins.
      • Please load User Management Plugin in this file
    CakePlugin::load('Usermgmt', array('routes' => true, 'bootstrap' => true));
    • Please note in above syntax 'routes' => true, 'bootstrap' => true must be present.
  3. 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 override beforeFilter function.
  4. Your layout must include plugin CSS and JS file and other things Download Default Layout
    • You must include plugin css, js and other setting in your default layout (yourapp/app/View/Layouts/default.ctp)
    • For more information reffer README file
  5. 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
  6. Google and Yahoo Authentication
    • If google and yahoo authentication are not working on your website please contact me at chetanvarshney@gmail.com
  7. Twitter Bootstrap
  8. Tinymce and Ckeditor code
  9. Jquery
  10. Bootstrap Datepicker
    • Download Bootstrap Datepicker from here
    • Follow instructions from REAM me file
  11. Bootstrap Datetimepicker
    • Download Bootstrap Datepicker from here
    • Follow instructions from REAM me file
  12. Bootstrap Chosen
    • Download Bootstrap Chosen from here
    • Follow instructions from REAM me file
  13. Bootstrap Typeahead
    • Download Bootstrap Typeahead from here
    • Follow instructions from REAM me file