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.
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:
-
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.
-
Download the target file:
- Use an FTP tool or file manager to download the target file to your local computer.
-
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.
-
Upload file:
- After the modification is completed, upload the file back to
/e/api/template /phone
directory, overwriting the original files.
- After the modification is completed, upload the file back to
-
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6
Visual web development tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),