Template style management


illustrate:

1, all template solutions are saved in ./phpcms/templates/ directory (if you need to modify it online, please set the directory to # via ftp ##777 and apply to subdirectories)
2 . The template scheme currently used by the website is: default template , and the saving path is: ./phpcms/templates/default/ , other template solutions Changes will not affect the display of the website frontend.
3 If you need to add a website template plan, please upload the new template plan to ./phpcms/templates/ Directory
4 If you need to apply a new website template scheme, please set the template scheme as the system default scheme

5、File storage rules
5.1. In each directory under the template system, the .html file is a template file, and the file name is in English, which is easier to understand ( Can be seen in the background style list).
5.2, there is still config in the template set directory .php file, this file saves the Chinese name of the template under the current style, so do not delete it.

Common operations

Operation name Description
Template import None
Template export None
Template enable/disable none


1. Template import

There are two types of template import: file import and code import. For file import, please select the style file exported from the system (PHPCMS other website systems). And upload the template file to the corresponding directory of the space. As shown below:

1.png

File import

2.png

Enter code method

2. Template export

Export the template as a .TXT file for later use

3.png

3. Template activation/deactivation

When the template is disabled and you add a site, you will not be able to select this disabled template, as shown below:

4.png

When adding, there is no test_templage template style, as shown below

5.png