stisla-codeigniter

Free Bootstrap Admin Template for CodeIgniter

MIT License

Stars
80
Committers
2

Table of contents

Link Stisla

Installation

https://github.com/KhidirDotID/stisla-codeigniter.git

Usage

  • Create a new Controller at application/controllers then put like this:
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Controller_name extends CI_Controller {

	public function index() {
		$data = array(
			'title' => "Your title"
		);
		$this->load->view('View_name', $data);
	}
}
?>
  • Create a new View at application/views then put like this:
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$this->load->view('dist/_partials/header'); ?>

      <!-- Main Content -->

<?php
$this->load->view('dist/_partials/footer'); ?>

License

Stisla is under the MIT License.