Home > CMS Tutorial > Empire CMS > body text

Where to modify the imperial cms mobile template

下次还敢
Release: 2024-04-17 12:27:35
Original
677 people have browsed it

Modify the Imperial CMS mobile template located in the /e/api/template/phone directory. The modification steps include: determining the target file (index.htm, list.htm, show.htm or custom.htm). Download the target file. Use the editor to modify the template content. Upload the modified file. clear cache.

Where to modify the imperial cms mobile template

Empire CMS mobile template modification guide

Modification location:

Empire CMS mobile template is located in the /e/api/template/phone directory and can be modified using FTP tools or file managers.

Modification steps:

  1. Determine the target file:

    • Commonly used template files The names are: index.htm, list.htm, show.htm and custom.htm.
    • Among them, index.htm is the home page template, list.htm is the list page template, show.htm is the content page template, and custom.htm is the custom template.
  2. Download the target file:

    • Use an FTP tool or file manager to download the target file to your local computer.
  3. Edit the file:

    • Open the target file using an HTML or PHP editor (such as Notepad).
    • Modify the template content as needed, including page layout, style, functions, etc.
  4. Upload file:

    • After the modification is completed, upload the file back to /e/api/template /phone directory, overwriting the original files.
  5. Clear cache:

    • Visit the Imperial CMS backend and click "Update Cache" to clear the template cache.

Things to note:

  • Before modifying the template, it is recommended to back up the original files.
  • Be careful to maintain the correctness and completeness of the grammar when modifying.
  • If you modify a lot of content, it is recommended to use version control tools for management.
  • After the modification is completed, be sure to clear the cache to take effect.

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!