How to change the design in CodeIgniter without messing up all the coding?

iTechScripts
Dec 22, 2020

--

Please follow the steps below:

  1. Go to the file location in cPanel.
  2. The design files are located inside the views folder under the application folder.
  3. You need to identify the files to modify.
  4. Let’s assume that you want to change the design of the homepage.
  5. Check the route file to find out the name of the default controller.
    It is home.
  6. Move to the controllers directory.
  7. Open Home.php.
  8. Index is the default function and in the last line you will find the name of the view file associated with the controller function.
  9. It is index.php.
  10. You can edit this file to modify the design of the homepage.
  11. This way you can revamp your entire website.

--

--

iTechScripts
iTechScripts

Written by iTechScripts

Leading Resource of PHP Scripts and Web/ App Development.

No responses yet