How to set up and manage the contact information on AnQiCMS backend?

Calendar 👁️ 67

As a senior CMS website operation personnel for a well-known enterprise, I am well aware of the importance of website contact information for user trust, business communication, and brand image.Clear, accurate, and easy-to-find contact information not only enhances user experience but is also a key link in converting potential customers.Next, I will elaborate on how to set up and manage contact information in the AnQiCMS backend, and guide you on how to display this information on the website front end.

AnQiCMS backend contact information setup entry

In the AnQi CMS backend management interface, you can easily find and enter the 'backend settings' area through the left navigation bar.Here, a submenu item named \Click it, you will enter a configuration page integrated with the website's default contact information and custom extended parameters.

Default contact information configuration and function

Anqi CMS provides a series of preset common contact information fields to meet the needs of most corporate websites. These fields include:

  • Contact:It is usually used to display the name of the contact person for the website, such as 'Manager Li' or 'Customer Service Zhang', it provides users with a more personalized communication object.
  • Contact Phone:This is one of the most commonly used contact methods for customers, please fill in your business phone number to ensure that users can resolve doubts or discuss business through voice communication.
  • Contact address:For businesses with physical office locations or stores, providing detailed address information is crucial, as it helps users locate your location.
  • Contact Email:Email is another important written communication channel, which can be used to receive user inquiries, cooperation intentions, and so on.
  • WeChat ID:Considering the popularity of WeChat in China, providing a WeChat ID can facilitate users in contacting you through instant messaging tools.
  • WeChat QR Code:To further simplify the process of users adding WeChat, you can upload your personal or corporate WeChat QR code image, and users can scan it to add quickly.

These default field settings are very intuitive, you just need to enter your information in the corresponding text boxes and upload the corresponding image files.This information is usually displayed in the footer of the website, on the "Contact Us" page, or in the sidebar, etc.

Flexible expansion: Customize contact information parameters

The strength of AnQi CMS lies in its high customizability.If the default fields above do not fully meet your business needs, for example, if you need to display WhatsApp numbers, Facebook homepage links, or other social media accounts, you can use the "Custom Settings Parameters" feature to expand.

At the bottom of the contact information settings page, you will find an area to add custom parameters. Here, you need to pay attention to three key items:

  • Parameter name:This is the unique identifier you call this custom information in the template. It is recommended to use English lowercase letter combinations, and the system will automatically convert it to camelCase (for example, enter "whatsapp", available in the templateWhatsApp)。For example, you can set 'WhatsApp' as the parameter name.
  • Parameter value:This is the specific information you want to display on the website front end. For example, if your parameter name is 'WhatsApp', you can fill in your WhatsApp contact number here.
  • Note:This is an optional field that will not be displayed on the front end, but you can use it to record the purpose of the custom parameter for future management and maintenance.

In this way, you can infinitely expand your contact methods based on your own business development and global promotion needs, for example, by adding social media links such as Facebook, Twitter, TikTok, Pinterest, LinkedIn, Instagram, YouTube, and thus build a multi-channel, all-around user communication network.

Display contact information on the website front-end: template calling技巧

In AnQi CMS, to display the contact information set in the background on the website front-end, you need to use template tagscontactThis is a very convenient and powerful tool that allows you to dynamically introduce contact information at any location on the website.

The way to use template tags is{% contact 变量名称 with name="字段名称" %}In which, 'variable name' is optional, if you want to assign the obtained value to a variable for subsequent processing, you can define; if not needed, you can output directly.nameThe parameter specifies the contact information field you want to retrieve.

Example of calling the default contact method:

If you want to display the contact phone number and email in the website footer, you can do so in the template file (for example,partial/footer.htmlIf your footer is a separate file), write it like this:

<address>
    电话:<a href="tel:{% contact with name="Cellphone" %}">{% contact with name="Cellphone" %}</a><br>
    邮箱:<a href="mailto:{% contact with name="Email" %}">{% contact with name="Email" %}</a><br>
    地址:{% contact with name="Address" %}
</address>

Example of calling a custom contact method:

If you add a custom parameter named "WhatsApp" in the background and want to display its link on the website, you can call it like this:

<div>
    <a href="https://wa.me/{% contact with name="WhatsApp" %}" target="_blank" rel="noopener noreferrer">
        <img src="/public/static/images/whatsapp_icon.png" alt="WhatsApp"> 联系我们
    </a>
</div>

Please note,target="_blank" rel="noopener noreferrer"Images are typically used for external links to enhance user experience and security. Image path/public/static/images/whatsapp_icon.pngShould be replaced with your actual icon path

Ensure the timeliness and accuracy of contact information

As an operations manager, regularly checking and updating the website's contact information is an indispensable task.When your phone number, email address, or office location changes, be sure to log in to the Anqi CMS backend in the "Contact Information Settings" to update it.Accurate contact information not only ensures that customers can easily get in touch with you, but also helps maintain the professionalism and credibility of the website.

Summary

The Anqi CMS provides a comprehensive contact information management solution that is flexible from the backend to the convenient display on the frontend.Whether it is a general information by default or a special field customized according to business needs, it can be easily realized through an intuitive interface and powerful template tags.As a website operator, fully utilizing these features will help you build an efficient, professional, and user-friendly online communication platform.


Frequently Asked Questions (FAQ)

  1. How to set different contact information on multiple sites? Answer:The AnQi CMS supports multi-site management features.When you have multiple independent sites, the contact information for each site is set independently.You just need to log in to the backend management interface of the corresponding site, go to "Contact Information Settings" under "Backend Settings" to configure exclusive contact information for the site.siteIdParameters, unless you need to call the contact information of site B from site A.

  2. Ask: I have set up a WeChat QR code, but the front-end cannot display the picture. How should I investigate? Answer:First, please confirm that you have successfully uploaded the WeChat QR code picture in the background "Contact Information Settings" and that the picture preview is normal. Next, check your template file (for example, usingtag-contact.mdinQrcodeThe sample code for the tag ensures<img>label'ssrcThe attribute is correctly referenced{% contact with name="Qrcode" %}Label.If the image path is still incorrect or blank, it may be due to file permission issues or CDN cache issues. You can try clearing the system cache or browser cache and then view it again.

  3. Ask: Can I customize other types of contact fields, such as a button with a specific link? Answer:Can be.The 'Parameter Value' field of the custom setting supports entering any text content.<button>or<a>Label and JavaScript code to create a button, and use custom parameter values as the link target. For example, the parameter name isCustomButtonLink, the parameter value ishttps://example.com/custom-page, you can write in the template<a href="{% contact with name="CustomButtonLink" %}" class="custom-button">点击这里</a>.

Related articles

How to configure AnQiCMS to push links to Baidu, Bing, and other search engines主动推送?

AnQiCMS as a system focusing on enterprise content management and SEO optimization, deeply understands the importance of content visibility in search engines.As a website operator familiar with AnQiCMS, I will thoroughly explain to you how to take advantage of the built-in functions of AnQiCMS to efficiently configure the active push of links to Baidu, Bing and other search engines to ensure that your content can be quickly discovered and indexed by search engines.### The importance and feature entry of search engine active push In the digital era, the rapid inclusion of content is crucial for the SEO performance of a website

2025-11-06

How to enable Markdown editor and support mathematical formulas/process diagrams in AnQiCMS?

As an experienced website operator familiar with AnQiCMS, I know that high-quality, multimedia content is the core of attracting and retaining users.In daily content publishing work, we often need to write technical articles, tutorials, or reports containing complex information.To better meet the needs of content creation and provide a better reading experience, AnQiCMS especially supports the Markdown editor, and can render mathematical formulas and flowcharts through simple configuration.This can greatly enhance the readability and professionalism of our content.

2025-11-06

What SEO tools does AnQiCMS provide and how to use them?

As an experienced security CMS website operator, I know the importance of search engine optimization (SEO) for website success.AnQiCMS was designed with SEO needs in mind, incorporating a variety of powerful and practical tools to help operators improve the visibility of their websites in search engines and attract and retain users.The following will introduce in detail the SEO tools provided by AnQiCMS and their usage methods.### AnQiCMS and Search Engine Optimization AnQiCMS is an enterprise-level content management system that considers SEO as one of its core functions

2025-11-06

How to configure the pseudo-static and 301 redirect of AnQiCMS to optimize SEO?

As an experienced AnQiCMS website operations manager, I know that optimizing a website's performance in search engines is crucial for attracting and retaining users.Among them, static URL and 301 redirect are indispensable SEO strategies.AnQiCMS is a system focused on enterprise-level content management that provides powerful and flexible configuration capabilities, allowing us to build a website that is friendly to search engines and users.

2025-11-06

How to use the image processing and external link filtering features in AnQiCMS content settings?

As an experienced AnQiCMS website operator, I fully understand the core status of content settings in the daily operation of the website.Images are an important component of content, and their handling directly affects the loading speed and user experience of the website; while the management of external links concerns the SEO health and content credibility of the website.In AnQiCMS, these key features can be fine-tuned in the content settings to meet different operational strategy needs.

2025-11-06

How to automatically compress large images in AnQiCMS and set thumbnail processing methods?

As an experienced website operator who is well-versed in the operation of AnQiCMS, I fully understand that in daily content management, image optimization is a key link to improve website performance and user experience.Especially for websites that contain a large number of images, properly handling the compression of large images and the generation of thumbnails can not only effectively save server storage space and bandwidth, but also significantly accelerate page loading speed, thereby improving SEO performance and retaining visitors.AnQiCMS provides powerful and flexible built-in features for image processing, allowing us to easily achieve these goals.

2025-11-06

How to customize the website navigation menu (multi-level navigation) in AnQiCMS?

As an experienced AnQiCMS website operations manager, I am well aware that a clear and efficient navigation menu is crucial for the website's user experience and search engine optimization (SEO).AnQiCMS with its excellent flexibility and customizability, provides us with powerful tools to build and manage multi-level navigation.This article will elaborate on how to customize and implement a multi-level navigation menu in AnQiCMS.### Understanding AnQiCMS' Navigation System Architecture The design of AnQiCMS' navigation system adheres to its core principles of efficiency and ease of use

2025-11-06

Where is the global function setting (website name, logo, filing number) of AnQiCMS modified?

As an experienced website operator who deeply understands the operation of AnQiCMS, I know that content creation, publication, and optimization are the key to the success of the website, but all this is based on the correct and reasonable configuration of the website's core settings.The name of a website, its brand logo, and compliance information (record number) are the most direct impression of the website when a user first contacts it, and they are also the foundation for building trust and a professional image.Many operators will encounter the problem of how to modify these global feature settings in the early stage.Today, I will give you a detailed explanation of AnQiCMS

2025-11-06