Why doesn't the template modification take effect?

Calendar 👁️ 661

AnQi CMS has started from version 3.0, in order to improve website performance, the default configuration of AnQi CMS installation environment is set to production, which is also known as the production environment, and it is not allowed to modify the template externally.The external template modification will not be updated in time, but needs to be restarted to take effect.
But you can modify the template by using the template management feature of the Anqi CMS backend. The changes to the template in the backend will take effect in real time.

If you want to modify the template using an external editor, you need to change the website to development mode.The way to modify it to development mode is: edit the config. under the root directory of the website, change the value of env from production to development, and then restart AnQi CMS.This can be modified by an external editor and will take effect in real time.This pattern will cause the security CMS performance to decrease, it is recommended to enable it during local debugging, and change the env value to production after the website goes live to achieve better performance.

Related articles

Can AQS CMS be installed on a virtual host?

The AnQi CMS cannot be installed on a virtual host. Virtual hosts do not support executing binary files.And AnQi CMS is an executable binary file, which can only be installed and run under systems such as cloud servers, lightweight cloud servers, Docker, Linux desktop systems, Windows desktop systems, MacOS systems, etc.

2022-12-11

Add a related articles mode with the keyword keywords

For example, article A in the industry solution has keywords such as cars. Article B also has keywords such as cars. Now, I want to call related case studies of the same type under the industry solution. Can this feature be implemented?

2022-12-14

Universal TDK article station, pagination, title consistent with non-paginated title

Universal TDK article station, pagination, title consistent with non-paginated title

2023-03-27

Suggest supporting markdown article editing

Suggest supporting markdown article editing, now many people use markdown text editing, which is also very convenient

2023-04-13

Added management group, no permission to update article exception

The backend has added a new management group and assigned all content management permissions. The content management list prompts for lack of permission and cannot add articles. Document category management is normal, tag management is normal

2023-09-26

Image alt information

How do I add image alt information in Anqi CMS?

2023-11-23

Suggest supporting minio object storage

Hope to support minio object storage

2023-11-30

Suggest adding content search to the background search field

Suggest adding content search to the background search field

2024-01-09