Modules
Module Security
So, you created your module and works fine, but is it secure? You must ensure that your module is secure and is not vulnerable to any SQL Injections are directory traversing. You can find below best practices to ensure that your module will be ...
Common Module Functions
register_activation_hook /** * Register module activation hook * @param string $module module system name * @param mixed $function function for the hook * @return mixed */ register_activation_hook($module, $function) register_deactivation_hook ...
Create Menu Items
If you are creating your custom modules, probably you will want to create menu items that will be shown on admin area sidebar or clients area navigation. With Our CRM you can easily achieve this with few lines of code. The code samples below, should ...
Module File Headers
Each module in Our CRM consist of init file which contains the general module configuration and includes headers containing meta-information regarding the module. Module init file headers example The follow example is taken from the default Our CRM ...
Module Basics
Modules location & Name All modules should be added in the modules folder in your root directory where Our CRM is installed and each module must have unique folder name and init file with the same name as your module folder name. Creating your first ...