v1.0.1
1.0.1.0A very simple Cjdeigniter3-Jumpstart
MIT
The Requires
- php >=5.0
v1.0
1.0.0.0A very simple Cjdeigniter3-Jumpstart
MIT
The Requires
- php >=5.0
A very simple Cjdeigniter3-Jumpstart
Installation package Codeigniter, (*1)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
composer create-project pomerla/ci3-jumpstart
Or download and unzip the latest version of the archive to your hosting.
Go to the directory with the unpacked engine.
Installation will start automatically.
Fill the connection settings to the database and set the administrator login and password.
The install.txt file is required. This file will be automatically deleted after installation.
, (*5)
When you're done, you can delete this ( .gitignore, LICENSE , README.md, composer.json and dir vendor) with your repository.
, (*6)
Bootstrap and font-awesome are in the assets folders.
, (*7)
A simple CRUD library is included in the assembly.
Example of use, (*8)
function __construct() { parent::__construct(); $this->load->library('common/crud_lib'); } public function index() { if (!$this->ion_auth->logged_in()) { // redirect them to the login page redirect('auth/login', 'refresh'); } else if (!$this->ion_auth->is_admin()) // remove this elseif if you want to enable this for non-admins { // redirect them to the home page because they must be an administrator to view this return show_error($this->lang->line('text_error_1'), '', $heading = $this->lang->line('text_error_h')); } else { $data['users'] = $this->crud_lib->select('users'); //use select('users') where array('ip_address'=>'127.0.0.1') order_by 'id ASC' or 'DESC' //$data['users'] = $this->crud_lib->select('users',array('ip_address'=>'127.0.0.1'),'id DESC'); //$dat = array( // 'first_name' => 'Admin', // 'last_name' => 'Members', // 'email' => 'admin@admin.com' //); //$this->crud_lib->insert('users',$dat); //$this->crud_lib->delete('users','6'); //$this->crud_lib->update('users','2',$dat); $this->load->view('admin_message', $data); } }
We recommend that you open this README in another tab as you perform the tasks below. You can (watch our video Soon) for a full demo of all the steps in this tutorial., (*9)
Codeigniter
Codeigniter-hmvc
CodeIgniter-develbar
CodeIgniter-Ion-Auth
, (*10)
A very simple Cjdeigniter3-Jumpstart
MIT
A very simple Cjdeigniter3-Jumpstart
MIT