Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/monitork/fatheme

This is simple way to create Theme and layout with Codeigniter 4 (Codeigniter4, CI4)
https://github.com/monitork/fatheme

ci ci4 codeigniter4 theme

Last synced: 25 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://bcit-ci.github.io/CodeIgniter4/general/modules.html?highlight=core%20module)
SEE THE IMAGE ==> Layout of Theme
![Alt text](/screenshot.png?raw=true "Layout")
1. Install:
```
composer require fireantlabs/fatheme
```
2. Go application -> Config -> Autoload.php
```
$psr4 = ['Theme' =>FCPATH.'themes']
```
Config eviroment to development --> Show debug bar
```
$_SERVER['CI_ENVIRONMENT'] = 'development';
```