3.2. The content of file config/Install/install-config.php

Contents

There are some PHP variables in this file, which values mostly determine how the theme data will be shown in the table, when installing the theme. For example for the theme ClassicBase version 1.5.4 the values were following:

$themeInstall['name']="ClassicBase";
$themeInstall['title']="Classic Base Theme";
$themeInstall['description']="A changeable base theme for Allmice CMS. It has left sidebar for menu area. If menu area is not used, then left sidebar is hidden. In case of mobile devices no sidebar will be used and the layout with styles will be in this case mobile device friendly.";
$themeInstall['version']="1.5.4";
$themeInstall['time']="2019-05-06 19:40:00";
$themeInstall['developer']="Stable theme. Copyright 2018 - 2019 by Any Outline LTD, www.allmice.com/cms, This theme is released under the 'GNU GENERAL PUBLIC LICENSE'.";

Theme name is a "CamelCase" string and must be the same as theme directory name - it is as an identifier for computer (should not contain spaces).
Theme title is human readable title for the theme, can include spaces.
The time value can be in one of three formats, but for simplicity just use the format: "Y-m-d H:i:s" (Year-month-day hours:minutes:seconds with leading zeros) as in the example.
Other formats are: "d/m/Y H:i" and one of ISO 8601 formats (e.g. "2019-05-06T19:40:00+01:00").




Previous: 3.1. Components and minimal requirements of a custom theme | Next: 3.3. Content of the layout.phtml file
Manage themes
1. How to choose a different theme ?
2. How to use a custom theme ?
3. How to create your own custom themes?
3.1. Components and minimal requirements of a custom theme
3.2. The content of file config/Install/install-config.php
3.3. Content of the layout.phtml file
3.4. CSS selectors for custom themes
4. Conclusions about Allmice CMS themes