HMVC is a Most Powerful and Dynamic admin panel. it can be used for adding custom codeigniter module.it is developed for custom codeigniter project.It will make your development task more easier then before.

  1. Please Extract the ERP_Main_File.zip folder. Then you will get ERP_Main.zip and Documentation Folder, First read the documention.
  2. Now just Upload the HRM.zip file to your server using cPanel or FTP.
  3. Extract the ERP_Main.zip file
  4. Now you just access into the your uploaded folder and then move all folders and files (EX: application, assets,index.php,install and system folders) one step up to public_html directory or can create comment folder and then you can keep it at the folder . Note: Keep in mind about .htaccess file is moved correctly otherwise you cannot access into the admin panel.
  5. #####################
  6. Note that: the instruction will be applicable for all other system.
  7. #####################
  8. Now, Browse your application http://yourdomain.com/install Installer first step showing the directory and server requirements. If all requirements successfully meet then click on Next button
  9. Smiley face
  10. Folder structure of Installer
  11. Smiley face
  12. *Enter your database name, username, password, host name and click on Next button
  13. Smiley face
  14. Just wait 10 seconds to complete the installation process
  15. Installation successfully done…
  16. Now, Click on Click to launch your application button to access your application
  17. Here is your Login info :

  18. Please go to your domain name http://yourdomain.com/login
  19. User name: [email protected] | Password: 123456 . After login please change your user name and password.
  20. Thank you for purchasing the HMVC System, If you have any questions, please contact us at [email protected]

  1. This is the main Dashboard overview. you can see all your information of the software in a minute.


  2. To see and change your user profile and you can add , edit and delete the user from this option.




  3. To add modules in your system, just follow this steps.


  4. To add permission for evey modules..you can see this option.





  5. To do data synchronization with your local computer to server, you can follow this steps



  6. To upload and download data after a specefic time you can follow this option.



  7. Language setting is the important part of this software.you can add your native language in this system just go to Software Settings > Language then add your native language name and follow picture.i added my native language 'Bengali' in this system then click 2 number box of showing picture. then next phrase page will come.now add your language phrase instead English language phrase.





  8. TO do data backup please follow this steps


  9. To do application settings ex: Ltr and RTL settings, language activate logo and others options.



  10. To send message at user to user please see the messaging system.


Folder Structure--

  • assets
  • config
  • controller
  • helpers
  • libraries
  • models
  • views

assets--

  • css/style.css
  • data/database.sql
  • images/ thumbnail.jpg
  • js/script.js

config--

  • config.php
  • menu.php
Custom styles assets/css/style.css
Your database queries assets/data/database.sql
Module thumbnail assets/images/thumbnail.jpg
Configuration (config/config.php)
$HmvcConfig['module_name']["_title"] = "Accounting Management System";
$HmvcConfig[' module_name ']["_description"] = "Simple Accounting System";
$HmvcConfig[‘module_name’][‘_database’] = true/false;
$HmvcConfig['module_name ']["_tables"] = array(
‘table1’,
'table2',
);
  • Configuration variable name must be $HmvcConfig
  • Module Name must be unique
  • Module Name must be same as the module directory
  • Set true/false if module have database
  • Must be register your database tables

    routs

  • Do not use custom route
  • Request with module/controller/method/parameters

Controller

  • You cannot declare any variable or array name as $module
  • Controller must be extends MX_Controller
  • Example:
    class Your_controller extends MX_Controller
  • Set your module name
  • Example:
    $data[‘module’] = “your_module_name”;
  • Set page name
  • Example:
    $data[‘page’] = “your_page_name”;
    Or
    $data[‘page’] = “Sub_directory/your_page”;
  • Load main template
  • Example:
    echo Modules::run('template/layout', $data);
  • Set a flash message/exception
  • Example
    $this->session->set_flashdata(‘message’, ‘Successful’);
    $this->session->set_flashdata(‘exception’, ‘Unsuccessful’);


    Finally, An example given bellow

    class Home extends MX_Controller {
    public function __construct()
    {
    parent::__construct();
    $this->load->model(array(‘home_name’));
    //redirect if not authorized user
    $this->permission->module('module_name')->redirect();
    }
    public function index()
    {
    //redirect if no permission
    //permission_type read/create/update/delete
    $this->permission->module('module_name', ‘permission_type’)->redirect();
    $data['title'] = “MY CUSTOM TITLE” ;
    $data['enquirys'] = $this->home_model->read();
    $data['module'] = "enquiry";
    $data['page'] = "home";
    echo Modules::run('template/layout', $data);
    }
    }

    model


    Example of model
    class Home_model extends CI_Model {
    public function read()
    {
    return $this->db->select("*")
    ->from('table')
    ->get()
    ->result();
    }
    }

      View

    • Print the value of your custom variable



    • Example to print the value of title
      echo $title;
      //print enquires result
      foreach ( $enquires as $enquiry )
      {
      echo $enqury->id;
      echo $enquiry->mobile;
      }
      ?>


    • Available permission types are create/read/update/delete
    • Permission in view
    • Example
      php
      if ( $this->permission->module('module_name', ‘permission_type’)->process() )
      {
      ?>
      Access by authorized user
      }
      ?>
    • Create a link
    • Example
      module/controller/method/parameters

    HTML

    CSS

    JS

    PHP

    Codeigniter Framework

    MYSQL

    Full Documentation

    Installer

    Licensing

    HMVC_Main.Zip

    Update log txt

    In this section we will present the recommended configuration under which the theme would work perfectly. Those are not absolute values, the theme performance depends on many factors like the host performance, server configuration and the number of visitors.

    Server requirements

    Apache or IIS or Nginx

    PHP version 5.3.1

    MySQL version 5.1


    If you Need to know anything about HMVC please do not hesitate to ask our support team.

    Support E-mail : [email protected]

    Support Skype : thememinister

    Once again, thank you so much for purchasing this system. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.