1. Start
  2. Settings
  3. Menu bar
  4. Users
  5. Components
  6. Tools
  7. Settings
  8. Quick Start

CodeIgniter Admin Pro V1.0


Thank you for purchasing CodeIgniter Admin Pro, by vudoanthang, if you have any questions, please feel free to email via my user page contact form. Thank you so much!

Settings


1. Copy source code and Create Database

- Copy all the source code in the source directory to your web root directory.
- Connect to mysql server, create a new database with the name is scrud_codeigniter.

2. Configuration

- Open application/config/database.php and change your config mysql database server.

$db['default']['hostname'] = 'localhost'; // for pdo: mysql:host=localhost
$db['default']['username'] = 'root'; // user name
$db['default']['password'] = '';     // user password
$db['default']['database'] = 'demo'; // database name
$db['default']['dbdriver'] = 'mysqli';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;

3. Enable system administrator account.

system administrator account is an account that has full rights. it is using to create the group and accounts of the user management. - Open application/config/scrud.php and change your system system administrator account

global $sysUser;
$sysUser['name'] = "systemAdmin";
$sysUser['password'] = "123456";
$sysUser['actived'] = false; // true : enable, false : disable

when you set enable is true, the system administrator account is activated and you can use it to login CodeIgniter CRUD.

note: you should disable the system administrator account and use the account of user management.

 

 

Users


Components


Tools


How to create the component?

 

Settings


Quick Start


This Quick Start will walk you through the creation of a simple articles application. We’ll be getting and installing CodeIgniter Admin Pro, creating and configuring a database and use it.

- Copy all the source code in the source directory to your web root directory.
- Connect to mysql server, create a new database with the name is demo.

- Open application/config/database.php and change your config mysql database server.

$db['default']['hostname'] = 'localhost'; // for pdo: mysql:host=localhost
$db['default']['username'] = 'root'; // user name
$db['default']['password'] = '';     // user password
$db['default']['database'] = 'demo'; // database name
$db['default']['dbdriver'] = 'mysqli';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;


- Access the App via browser and follow the instructions of the install page.

- You've installed the simple articles of applications. access to the web address, the login page is shown.

You can login by accounts below.

Administrator (full right) : account: admin  password: 123456

Supper user (read,edit,delete): account: suser password: 123456

User (read only): account: user password: 123456

User (only access  their own records  ): account: user2 password: 123456

Live demo

Admin site: Click here