-
Notifications
You must be signed in to change notification settings - Fork 19
Themes
Timot Tarjani edited this page Mar 28, 2017
·
9 revisions
The themes are under the /themes folder. By default there are two theme engine: Laravel's blade(in development) and HcmsPHP. You can choose the engine in your theme config.php file eg: 'theme_engine' => 'hcms'
. HcmsPHP is a PHP code which has website helpers.
HorizontCMS needs some default theme file, they are listed below. After the file creation they will be automatically recognized by the system. You don't have to include the header.php and footer.php into index. If they exists, the template engine will do it for you.
- page_templates (dir) * Custom page templates come here. (eg: blog.php)
- header.php
- index.php
- footer.php
- page.php
- 404.php
- config.php
- preview.jpg
- theme_info.xml
Project started in 2015