Skip to content

Integrasi framework CodeIgniter dengan template Stisla

License

Notifications You must be signed in to change notification settings

rmalan/ci-stisla

Repository files navigation

CI Starter

Integrasi Framework CodeIgniter dengan template Stisla Stisla Preview

Stisla

Instalasi

  • Kloning repo: git clone https://github.com/rmalan/ci-stisla.git

Penggunaan

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

class Blank extends CI_Controller 
{    
    public function index()
    {
        $data['pageTitle'] = 'Blank';   //Judul Halaman
        $data['pageContent'] = $this->load->view('blank', $data, TRUE); //View baru

        $this->load->view('template/layout', $data);
    }
}
  • View baru:
<section class="section">
    <div class="section-header">
        <h1>Blank Page</h1> 
    </div>

    <div class="section-body">
        <!-- Isi Halaman HTML -->
    </div>
</section>

Lisensi

CodeIgniter, please see the license agreement. Stisla is under the MIT License.