Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/monitork/fatheme
- Owner: monitork
- Created: 2018-01-30T10:23:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-31T02:40:37.000Z (almost 7 years ago)
- Last Synced: 2024-11-14T14:28:57.053Z (about 1 month ago)
- Topics: ci, ci4, codeigniter4, theme
- Language: PHP
- Homepage:
- Size: 35.2 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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';
```