AdminLTE Integration with Codeigniter

created: 10/03/2017

24/7 Support: Send Us a message from our profile

We would like to thank you for purchasing this script! We are very pleased you have chosen our script for your project, you will not be disappointed! Before you get started, please be sure to always check out these documentation files. We outline all kinds of good information, and provide you with all the details you need to use.If you have any questions that are beyond the scope of this help file, please feel free to contact us on codeglamour1@gmail.com
System Requirements

To installing AdminLTE Integration with Codeigniter, Your web server must be running PHP 5.6 or higher, and Mysql 5 or higher. Below are a list of items you should ensure your host can comply with.

  • PHP 5.6+
  • PHP 5.x
  • MYSQLi 5.1+
  • Mcrypt Extension
  • MBString Extension
  • MYSQLi Extension
  • CURL Extension (recommended)

*In most hosting accounts these extensions are enabled by default. But you should check with your hosting provider.

The Quickstart Package consists on a complete Codeigntier + Database Files + Template + Various Modules excellent for beginner users to explore back-end settings and sample content. Installing the Quickstart is just like installing and configuring PHP!, but you will have the full demo of the AdminLTE Integration with Codeigniter your server. Once your environment is ready, follow this quick guide:

Configure database connection

You need to have previously setup database from the cPanel.

Here is a good tutorial how to setup MySQL database in cPanel if you are not familiar with this.

  1. Login to cPanel by accessing www.yourdomain.com/cpanel and navigate go MySQL Databases.
  2. Create database first.
  3. Create user and setup your password.
  4. Add the user to database by selecting the database and the username.
  5. Open the file ci_lte_db.sql in database folder of package files and Import the Database. It will create all required database tables and sample content.

Make sure you have checked All privileged when adding the user to database.


Setup base url
Go to application/config/config.php and setup $config['base_url'] where CI Admin LTE will be installed.

You need to add your base url to this line:

          $config['base_url'] = '';
        

Ex. If you are installing on subdomain you will set http://www.codeigniter_adminlte.domain.com/

Ex. If you are installing on subfolder you will set http://www.domain.com/codeigniter_adminlte/

Ex. If you are installing on the main domain you need to set just http://www.domain.com/

          $config['base_url'] = 'http://www.domain.com/codeigniter_adminlte/';
        
NOTE:The url must ends with slash (/)
Change Database Settings

Open your site main root folder then open: application/config/database.php Change your database name, username and password here,

 

Admin URL / Access
yoursitename.com/admin
Username: demo@admin.com
Password: demo

Admin/User can manage the whole Administration operations









Header Adjustment

Go to the site folder codeigniter_adminlte and open file application\views\admin\include\navbar.php. Here you can set logo, naviation and Account Buttons.



Sidebar Adjustment

Go to the site folder codeigniter_adminlte and open file application\views\admin\include\sidebar.php. Here you can add/remove/edit the main-menu and dropdown-menu



Routes File

If you want to change the Route file go to main_directory/application/config/route.php here you can change the route according to your requirements



My Controller File

If you want to change the MY Controller file go to main_directory/application/core/MY_Controller.php and edit it accoring to your needs.



Version v1.0

For any query or problem feel free to contact us on Email: codeglamour1@gmail.com

Once again thank you for purchasing one of our Product

Best Regards

Codeglamour