Home >CMS Tutorial >Empire CMS >Where is the imperial cms custom page template?

Where is the imperial cms custom page template?

Thomas Edward Brown
Thomas Edward BrownOriginal
2024-04-17 07:27:20501browse

The custom page templates of Empire CMS are located at: 1. Server: .html file in the /templets directory 2. Client: .html file in the /public/templets directory

Where is the imperial cms custom page template?

Imperial CMS custom page template location

Imperial CMS’s custom page template is usually located at the following location:

Server side:

  • /templets .html file in the directory

Client side :

  • .html file
  • # in the directory
/public/templets

under the root directory of the website ##Detailed description:

  1. Server-side template:
## Server-side template is used by Empire CMS to generate web pages Original template file.
  • Developers can customize website page layout and content through the
  • .html
  • file in this directory. For example,
  • /templets/default/index.html
  • is the server-side template file for the website homepage.
    Client-side template:
The client-side template is the result of compilation and caching of the server-side template.
  • These templates are stored in the
  • /public/templets
  • directory and are used to quickly display pages. For example,
  • /public/templets/default/index.html
  • is the client template file for the home page.
How to use custom page templates:

Create or modify the
    .html
  1. file on the server side. Refresh the website cache to update client templates.
  2. Edit website pages and choose the appropriate template.

The above is the detailed content of Where is the imperial cms custom page template?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn