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.
-
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!