Skip to content

Latest commit

 

History

History
36 lines (35 loc) · 965 Bytes

README.md

File metadata and controls

36 lines (35 loc) · 965 Bytes

FATheme

Codeigniter 4 Basic Theme

codeigniter/
├── application/
├── composer.json
├── composer.lock
├── public/
|   ├── themes/
|   |     └── Default
|   |         └── views  
|   |             ├── partial 
|   |             └── layouts  
│   ├── .htaccess
│   └── index.php
└── vendor/
    └── codeigniter/
        └── framework/
            └── system/

I custom view helper of codeigniter 4 framework to config the theme with Code Modules SEE THE IMAGE ==> Layout of Theme Alt text

  1. Install:
composer require fireantlabs/fatheme
  1. Go application -> Config -> Autoload.php
$psr4 = ['Theme' =>FCPATH.'themes']

Config eviroment to development --> Show debug bar

$_SERVER['CI_ENVIRONMENT'] = 'development';