Skip to content

oxygenfox/reactadmin

Repository files navigation

Introduction

This source using CodeIgniter v.3.1.11 + Modular (HMVC)
Admin Template using AdminLTE v3.0.2

Screenshoot

Backend Dashboard View Frontend Home View

Feature

  • Auth
  • Frontend
  • Dashboard
  • HMVC (Hiraki Module Views Controller)
  • RBAC (Role Base Access Controller)
  • Dynamic Menu
  • Ajax Validation
  • CRUD

CodeIgniter v.3.1.11

User Guide https://codeigniter.com/docs
Language File Translations https://github.com/bcit-ci/codeigniter3-translations
Community Forums https://forum.codeigniter.com/
Community Wiki https://github.com/bcit-ci/CodeIgniter/wiki
Community Slack Channel https://codeigniterchat.slack.com
Please see the license agreement https://github.com/bcit-ci/CodeIgniter/blob/develop/user_guide_src/source/license.rst.

AdminLTE v.3.0.2

Author: Colorlib
Website: AdminLTE.io https://adminlte.io
License: Open source - MIT https://opensource.org/licenses/MIT

Add Custom Modules

Make New Folder

    .
    ├── application                 # Default Folder
    ├── modules                     # HMVC Folder
    │   └── own               
    │       │── controllers
    │           └── Own.php
    │       │── models 
    │           └── Own_model.php              
    │       │── views
    │           │── Core (opsional)
    │           └── index.php               

Own.php

<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Own extends MX_Controller {

  public function index() {

    //Something Code
    $data = [
        'title' => 'BLANK PAGE'
    ]

    //Custom JS Uncomment If You Want
    // $this->load->view('core/js');

    // Views
    $this->load->view('index', $data);
  }

    // ETC

}

Own_models.php

<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Own_model extends CI_Model
{
    function __construct()
    {
       //somecode
    }

    public function somecode()
    {
        //somecode
    }

   
}

index.php

<div class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-sm-6">
                <!-- SYMLINK WITH CONTROLLER -->
                <h1 class="m-0 text-dark"><?= $title ?></h1>
            </div>
        </div>
    </div>
</div>
<section class="content">
    <div class="container-fluid">
        <div class="row">

            <!-- CONTENT -->
    </div>
</section>

About

Codeigniter 3.1.11 + Admin LTE + RBAC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages