As an expert in the operation of Anqing CMS, I understand that high-quality content cannot be separated from a stable backend configuration as support.The contact information and global system parameters of the website, although seemingly basic, are the key to user trust, brand image, and the normal operation of the website's functions.Now, I will explain in detail how to configure these important information on the Anqi CMS backend.

Configure website contact information

On the Anqi CMS backend management interface, you can navigate to the 'Backend Settings' area through the navigation bar, and then select 'Contact Information Settings' to manage and update your website's contact information.This section aims to unify the management of all external contact channels, ensuring consistency and accuracy of information, and enhancing the convenience for users to obtain help or establish contact.

By default, the system has preset a series of commonly used contact information fields, such as:

  • ContactThis is usually the contact name you want the customer to call by, such as "Mr. Wang" or "Customer Service Department".
  • Contact phone number: Used to display on the website front-end, making it convenient for users to dial for consultation or support.
  • Contact address: Display the physical location of the company or organization, commonly found in website footers, contact us pages, or map displays.
  • Contact emailProvide an email address for communication or sending inquiries via email.
  • WeChat IDIf your business involves WeChat communication, you can fill in your WeChat ID here.
  • WeChat QR code:Used to display WeChat QR code pictures, convenient for users to quickly add you as a WeChat friend or subscribe to your official account.

In addition to these standard fields, Anqi CMS also provides a powerful "custom setting parameter" function to meet the personalized needs of different business scenarios.For example, if your business is aimed at the international market, you may need to provide social media contact information such as WhatsApp, Facebook, Twitter, etc.

  • Parameter NameThis is the unique identifier for the template. It is recommended to use camelCase naming (for exampleWhatsApp), so that you can directly pass through in the front-end template{% contact with name="WhatsApp" %}This tag is used to call the corresponding value. Even if you fill in Chinese parameter names, the system will automatically convert them to camel case.
  • Parameter valueThis is the actual content of the custom parameter displayed on the website frontend. For example,WhatsAppYou can enter your WhatsApp number or link as a parameter.
  • NoteThis field is only used by backend administrators to understand the purpose of the parameter, it will not be displayed on the website front-end. Clear notes help team members collaborate and maintain later.

After the configuration is complete, you can pass through the front-end template.contactThe system will automatically match and output the corresponding value when calling these tags, according to the parameter name you set. This ensures the flexibility and maintainability of the front-end information display.

Configure custom system global parameters

In the "Background Settings" menu, in addition to the contact information, there is also a crucial "Global Function Settings" area.Here aggregates the basic configurations that affect the operation of the entire website, including the website name, URL, copyright information, etc., and also supports adding custom global parameters to meet the specific functional or content display needs of the website.

System built-in global feature settings include:

  • Website NameIt acts as the core identifier of a website, it usually appears at the end of the web page title, which is crucial for SEO ranking and brand recognition.
  • Website LOGO: Upload your brand logo image, used for the header, footer, and other key positions on the website.
  • website addressThis is the official access URL of your website. Please fill in correctly and make sure that the domain name is resolved, as it will affect the loading of website resources and the generation of links.
  • Mobile end address: If your website uses a separate PC and mobile end model, you can fill in the URL of the mobile end website here.
  • Record number:Used to display your website filing information, enhancing the compliance and credibility of the website.
  • Copyright information:Generally displayed in the footer of the website, indicating the copyright ownership of the website content.
  • Default language packageSet the default display language for the website backend and some built-in prompts to facilitate multilingual team collaboration.
  • Backend domain addressTo enhance backend security, you can set a separate access domain for the backend. Make sure the domain is correctly resolved and bound before setting it up.
  • Website statusYou can set the website to 'open' or 'closed'. In closed mode, users will not be able to access the website content, they will only see a closed notice.
  • Shut down prompt: The prompt displayed to visitors when the website is in a closed state.

Similar to contact information configuration, the "Global Function Settings" also provides a "Custom Setting Parameters" feature.This is very useful for information that needs to be shared globally across a website but does not have a specific predefined field.For example, you may need to define a global text for a company profile, a link to a specific promotional page, or a global announcement, etc.

  • Parameter Name: The unique identifier for template calls. It is also recommended to use English camel case naming (such asCompanyIntroorHelpPageLink)。In the front-end template, you will go through{% system with name="参数名" %}Call this tag to invoke it.
  • Parameter value:The specific content carried by this custom parameter can be text, URL, or other information.
  • Note: For reference only by backend administrators, it will not be displayed externally.

By meticulously configuring these global parameters, you can not only ensure that the basic information of the website is complete and accurate, but also flexibly expand the website functions to meet the ever-changing operational needs.The correct configuration of these parameters is the foundation for the efficient distribution of website content and a good user experience.


Frequently Asked Questions (FAQ)

1. Why didn't the front-end of the website update immediately after I modified the contact information or global parameters?

The AnQi CMS usually uses a caching mechanism to improve website performance.After you modify the contact information or global parameters in the background, the front-end page may not display the latest content immediately due to caching.The solution to this problem is to find and click the 'Update Cache' feature in the left menu of the Anqi CMS backend.After the cache update operation, the website's front page will usually refresh immediately and display the latest information you have modified.If the problem still exists, please try clearing your browser cache.

2. How should I choose the parameter name when customizing global parameters? What are the considerations?

“Parameter name” is the key identifier you use to call this parameter in the frontend template, and its naming is crucial. It is recommended that you follow the following principles:

  • Uniqueness.Ensure each custom parameter name is unique to avoid conflicts with existing system parameters or other custom parameters you have defined.
  • English camel case naming: In order to be consistent with the AnQiCMS template tag specification (for exampleSiteNameSuggested to use English and camelCase naming convention, i.e., first word lowercase, followed by uppercase letters, for examplecompanyIntroorhelpPageUrl.
  • Semantic clarity: The parameter name should clearly express the meaning of the content it represents, making it easy for front-end developers to understand and call.

Inappropriate parameter names may cause incorrect data calls in templates or confusion when working with multiple people.

3. What will happen if I set the background domain but forget to resolve or bind it? How can I recover?

If you set a separate domain address for the Anq CMS backend but failed to resolve the domain to the server IP and bind it correctly after the setting, you will not be able to access the backend through the original backend access address or the newly set domain, resulting in the temporary failure of the backend management function.

In this case, you need to use the server's file manager or SSH connection to find the installation directory of AnQi CMS underconfig.jsonFile. In this file, you can find information about the background domain (usuallyAdminDomainor similar field configuration item.Please temporarily delete or comment out this configuration line, or change it back to the default value.您的网站地址/system/Re-enter the background. After restoring access, please make sure to complete the domain resolution and binding work before reconfiguring the background domain in the background.