What are the common configuration mistakes between AnQiCMS contact information settings and the `contact` tag call?

Calendar 👁️ 56

Common misconfigurations in the contact information settings of AnQi CMS: Make your contact information clear and visible

In website operation, clearly and effectively displaying contact information is a key link in building user trust, promoting communication, and business transformation.AnQiCMS provides a convenient backend setting and template tags, allowing you to easily manage and call these key information.However, even such convenient features are often affected by some seemingly minor configuration mistakes, leading to contact information not being displayed normally on the front page, causing confusion to operators.

As an experienced website operations expert, I am well aware that these 'small problems' may hide user experience gaps. Today, let's delve into the 'Contact Information Settings' in Anqi CMS andcontactCommon configuration mistakes between template tag calls and clear solutions provided.

Backend settings: Management of the 'origin' of contact information.

First, let's review the contact information settings of the Anqi CMS backend. You canHome page > Backend settings > Contact information settingsFind these configuration items. Here are default fields such as "contact person", "contact phone number", "contact address", "contact email", "WeChat ID", and "WeChat QR code" for your convenience in entering the basic contact information of your company.

The strength of AnQi CMS lies in its flexibility, you can also add contact methods that meet your specific needs through "custom settings parameters", such as "WhatsApp account" or "Facebook homepage link" etc. There are several details to be aware of when setting these custom parameters:

  1. Parameter name:This is the unique identifier for template use. Anqi CMS suggests setting the parameter name to English, and the system will automatically convert it to camel case (i.e., the first letter of each word is capitalized, and there are no spaces in between) for easy use in templates.For example, if you have customized a parameter name such as 'WhatsApp' in the background, then you can directly use it in the templateWhatsApp.
  2. Parameter value:This is the actual contact information content, such as phone numbers, email addresses, and so on.
  3. Note:Only used for backend management, to facilitate your understanding of the parameter usage, and will not be displayed on the front end.

Understanding these backend settings is the first step in correctly calling the contact information. Because the template tags need to know exactly where to get the data.

contactTag calling: A bridge connecting the backend and frontend

In the Anqi CMS template file,contactTags are used to display the contact information you set in the background on the website. Their basic usage method is:{% contact 变量名称 with name="字段名称" %}Of course, if it is only a simple direct output of a field value,变量名称it can also be omitted.

here,nameThe attribute is the core, it tellscontactwhich contact information you want to get from the background settings.

Common configuration mistakes and solutions

Now, let's analyze several that are commonly encountered when usingcontactconfiguration mistakes when labeling, and provide solutions one by one.

Misconception one: Neglecting the precision and case sensitivity of the 'parameter name'

This is the most common and easiest mistake to make. Many operators set up contact information in the background, and when calling the front-end template, they often encounter issues because of thenameThe inaccurate understanding of attribute values leads to the inability to display information.

  • Problem manifestation:

    • Built-in fields such as 'Contacts' are called in the front-endname="username"but expected to be displayed.
    • The custom field is set to "My WhatsApp" in the backend and called in the frontendname="myWhatsApp"orname="WhatsApp", but found nothing.
    • The system prompts "The specified field was not found".
  • Deep reasons:Safe CMS template tagsnameThe value of the attribute requires high precision and strict distinction of case.

    1. Built-in fields:The built-in contact information fields all have fixed camel case English naming.

Related articles

After updating the contact information on the AnQiCMS backend, why didn't the front end take effect immediately?

Hello! As an experienced website operation expert, I fully understand the confusion and anxiety you may feel when you find that the front-end does not take effect immediately after updating the AnQiCMS backend settings.This is a very common phenomenon in website operation, usually not a system failure, but a mechanism designed to improve website performance and user experience is at work.Today, let's delve into the possible reasons behind this and provide a detailed solution.### AnQiCMS Back-end contact information update, why does the front-end not take effect immediately

2025-11-06

Why did I use the `{% contact %}` tag in the AnQiCMS template but the content did not display on the front end?

As an experienced website operations expert, I know that even a small template tag problem may confuse and anxiety the operator while managing and maintaining a website.Today, let's delve into a problem that AnQiCMS (AnQi CMS) users occasionally encounter: when the `{% contact %}` tag is used in the template, no content is displayed on the front page.Don't worry, this is usually not a big problem. Just follow the steps to investigate, and we can find the cause and solve it soon.

2025-11-06

How to use AnQiCMS's `{% system %}` tag and `{% contact %}` tag to combine and display the global contact information of the website?

As an experienced website operations expert, I know that effectively and uniformly managing website content is the foundation of success in an increasingly complex network environment.AnQiCMS (AnQiCMS) leverages the efficient and flexible customization capabilities of the Go language to provide us with many conveniences.Today, let's delve deeply into two seemingly simple but extremely powerful tags in Anqi CMS - `{% system %}` and `{% contact %}`, as well as how to skillfully combine them to build a unified and easy-to-maintain website global contact information display system

2025-11-06

The `{% contact %}` tag supports which filters to format the output content?

As an experienced website operation expert, I know that how to flexibly display and process information in a content management system is the key to improving website user experience and operational efficiency.AnQiCMS (AnQiCMS) provides us with great convenience with its powerful template engine and rich tag system.Today, let's delve into the `{% contact %}` tag and how to make your website's contact information display more exquisite and practical through its output content filters.

2025-11-06

How to test the `siteId` parameter to correctly identify and call data in the multi-site contact information tag?

The AnQi CMS, as a powerful enterprise-level content management system, undoubtedly provides great convenience and flexibility to operators with its multi-site management capabilities.How to ensure that each site can accurately call its exclusive information when managing multiple brands or sub-sites, especially for such critical data as contact information, it is particularly important.Today, let's delve into how to test and verify the recognition and data call of the `siteId` parameter in contact label tags in a multi-site environment.### Recognize `siteId`

2025-11-06

Can AnQiCMS's anti-crawling feature effectively protect contact information from malicious crawlers?

Certainly, as an experienced website operation expert, I am more than happy to delve into the anti-crawling function of AnQiCMS and explain in detail how it effectively protects your website contact information. --- ## AnQiCMS anti-crawling function: Build a solid barrier for your contact information In today's digital age, information collection has become a norm, but the harvesting of website contact information by malicious crawlers has brought many troubles to enterprises, such as spam emails, harassment calls, and so on.

2025-11-06

How to ensure that the contact label output content of AnQiCMS is SEO-friendly?

AnQi CMS is a content management system tailored for small and medium-sized enterprises and content operation teams, which has integrated the concept of search engine optimization from the very beginning.In website operation, contact information is not only a bridge for communication between users and us, but also an important signal for search engines to understand our business and confirm our authenticity.Therefore, how to ensure that the content output by the AnQiCMS contact information tag is SEO-friendly is a key point that every website operator should pay attention to.##

2025-11-06

Does AnQiCMS contact information label support automatic switching to display corresponding language contact information based on the user's visited language?

## Contact information label for AnQiCMS: How to switch display intelligently under multilingual environments?In today's global business environment, multilingual support for websites is no longer an option, but a necessity for businesses to expand into international markets.For enterprises that use content management systems (CMS) to build and manage websites, how to efficiently handle multilingual content, especially for key information such as contact details, is a common concern for operators.AnQiCMS (AnQiCMS) is a system focused on providing enterprise-level content management solutions

2025-11-06