Skip to content

This is simple way to create Theme and layout with Codeigniter 4 (Codeigniter4, CI4)

Notifications You must be signed in to change notification settings

monitork/fatheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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';

About

This is simple way to create Theme and layout with Codeigniter 4 (Codeigniter4, CI4)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages