How to customize the contact information settings in AnqiCMS to match the corporate promotion requirements?

Calendar 👁️ 60

As an experienced CMS website operator for an enterprise, I know that the flexibility and timeliness of the corporate publicity strategy is crucial for attracting and retaining users.Contact information serves as a bridge for communication between enterprises and users, and its form and content often need to be adjusted with market changes or business needs.AnQi CMS provides highly customizable backend features, enabling us to easily cope with these changes.

Below, I will elaborate on how to customize the contact information settings in AnqiCMS to accurately match your corporate promotional needs.

AnqiCMS default contact information setting item overview

The Anqi CMS preset a series of commonly used contact information fields in the "Contact Information Settings" module, aiming to meet the daily display needs of most enterprises. These default settings include:

  • ContactUsed to display the name for external contact of a company, such as "Mr. Wang" or the Customer Service Department.
  • Contact phone numberUsed to provide the direct dialing phone number for users.
  • Contact address: Display the physical office address or store address of the company.
  • Contact email: Provide the email communication address.
  • WeChat ID and WeChat QR code: Convenient for users to establish contact with the company through the WeChat platform.
  • QQTraditional instant messaging communication method.

These default fields are enough to support the basic display of corporate information and can be called at the footer of the website, the contact us page, and other locations.They are managed centrally in the background, making it easy to update information quickly.

Why do you need a customized contact method?

In actual operation, the default contact information settings may not fully meet the publicity needs of all enterprises. For example:

  • Global business expansion: You may need to add contact information for international social media platforms such as WhatsApp, Line.
  • Multichannel marketingIn addition to WeChat, you may also need to display links to dedicated accounts or homepages on platforms such as Facebook, Twitter, TikTok, LinkedIn, Instagram, YouTube, etc. to guide users to your active social media channels.
  • specific industry needsCertain industries may have their unique contact methods, such as online consultation links, hotlines of specific departments, etc.
  • brand individualized display: You may want to add some brand-specific slogans or descriptions to your contact information.

When encountering these custom requirements, the flexible settings of AnqiCMS can come in handy.By adding custom parameters, we can easily expand the type of contact information, thereby more accurately matching the diverse promotional needs of enterprises.

Implementation steps for custom contact information settings.

To implement the custom settings for contact information in AnqiCMS, the process is intuitive and efficient.

First, please log in to your AnqiCMS backend management interface, find "Backend Settings" in the left navigation menu, and then click to enter the "Contact Information Settings" page.

At the bottom of the page, you will see a section named "Custom setting parameters". This is the core area where we carry out personalized customization.

When adding custom parameters, you need to fill in the following key information:

  • Parameter NameThis is the identifier used when calling this custom contact method in the front-end template. It is strongly recommended to use English to name parameters for easier management and template development, for exampleWhatsApp/FacebookPage/CustomerServiceHotline. The system will automatically convert the English parameter name you enter to camel case (i.e., each word starts with an uppercase letter and there are no spaces in between), for example, inputwhatsappwill becomeWhatsApp. Although the system also supports Chinese parameter names, it may increase complexity when called in templates, so it is recommended to use English.
  • Parameter valueThis is the specific contact information you want to display to the user. For example, if your parameter name isWhatsAppThe parameter value can be filled with your WhatsApp number or link. If your parameter name isFacebookPageThe parameter value should be filled with your Facebook profile URL.
  • NoteThis field is only for internal reference by backend administrators and will not be displayed on the frontend.You can use the remarks to clearly describe the purpose or meaning of the custom parameter for future maintenance and management.

After completing the information entry, click save, your custom contact settings will be successfully added to the system.

Call custom contact information in the front-end template

Once you have set up custom contact information in the background, the next key step is to call and display it in the website's frontend template. AnqiCMS providescontactTags, it can conveniently retrieve and output the contact information you configure in the background, whether it is a default item or a custom item.

contactThe basic usage of tags is:{% contact 变量名称 with name="字段名称" %}Where the field name is

For example, suppose you have added a parameter namedWhatsAppa custom contact method, with the parameter value+8613800138000. In your AnqiCMS template file (for examplefooter.htmlorcontact.htmlIn the brackets, you can call and display it with the following code:

<p>
    WhatsApp 联系方式:{% contact with name="WhatsApp" %}
</p>

If you want to assign this value to a variable for more complex processing in the template, you can do it like this:

{% contact whatsappNumber with name="WhatsApp" %}
{% if whatsappNumber %}
    <p>
        <a href="https://wa.me/{{ whatsappNumber }}" target="_blank" rel="nofollow">
            <img src="/static/images/whatsapp-icon.png" alt="WhatsApp Icon" style="vertical-align: middle; margin-right: 5px;">
            立即通过WhatsApp联系我们: {{ whatsappNumber }}
        </a>
    </p>
{% endif %}

In this way, you can flexibly display the newly added custom contact information at any location on the website.You can place it in the footer of the website, a dedicated "Contact Us" page, the sidebar, or even specific content detail pages to ensure that users can easily find and use these contact methods when needed.

Optimize and maintain

To ensure the accuracy and effectiveness of the contact information, it is recommended that you:

  • Standardize naming:Custom parameter names should be concise and clear, easy to understand, and convenient for team members to use.
  • Regular review: Contact information may change with business development.Regularly (e.g., quarterly or annually) check and update the contact information settings in the background to ensure all information is up-to-date and accurate.
  • Test callAfter adding or modifying a custom contact method, be sure to test on the front page to confirm that the information is displayed correctly and the links are valid.

Summary

The contact information customization feature of AnQi CMS greatly enhances the flexibility and adaptability of the website in corporate promotion.It breaks the traditional CMS fixed field limits, allowing operators to dynamically expand contact channels according to specific market needs and marketing strategies.By carefully configuring these custom items and巧妙运用 in the front-end template, you will be able to more effectively connect with your target audience, thereby enhancing user experience and corporate influence.


Frequently Asked Questions (FAQ)

1. Can custom parameter names be Chinese?

Yes, AnqiCMS supports custom parameter names using Chinese.However, as a website operator, I would recommend using English as parameter names.This is because English parameter names are easier to identify and maintain in template code, and AnqiCMS will automatically convert them to camel case, which is a common coding naming convention that can improve code readability.

2. I have modified the contact information settings in the background, but the front-end page has not been updated. Why is that?

This is usually caused by caching.AnqiCMS to improve website access speed may cache data.

  • Clear browser cache.
  • Click the 'Update Cache' button on the AnqiCMS backend to force the system to clear and regenerate the cache.
  • Check if the template file you have modified has been saved and uploaded to the server correctly.

3. Besides contact information, where else does AnqiCMS support customizable settings?

AnqiCMS also provides the ability to set custom parameters under "Global Function Settings" in the "Backend Settings".This allows you to add more custom configurations related to the overall operation of the website, such as specific API keys, partner links, or other text or links that need to be called globally across the website.It's usage method is similar to the contact information custom parameters, and it also supports custom parameter names, parameter values, and notes.

Related articles

In the AnQi CMS global function settings, which configurations are crucial for the overall performance and security of the website?

As an experienced security CMS website operator, I know that the overall performance and security of the website are the foundation of its success.In the global function settings of Anqi CMS, there are several configurations that play a decisive role in both aspects.A well-configured setup can not only significantly enhance user experience, ensure good ranking on search engines, but also effectively resist potential security threats and protect the data security of the website and its users.In order to improve website performance, the primary focus is on the settings related to image processing.AnQi CMS provides the options 'whether to download remote images', 'whether to enable Webp image format'

2025-11-06

What key operational data and quick operations can the backend homepage of AnQi CMS provide?

As an experienced CMS website operation person in the safety industry, I am well aware of the importance of the backend homepage for daily work efficiency.It is not only the gateway to enter the system, but also our 'command center' for quickly mastering the website operation status and executing key tasks.The backend homepage design of AnQi CMS is centered around this core concept, providing us with rich and intuitive key operational data and convenient operation entries.**Core Operation Data Display** The backend homepage of AnQi CMS, the first thing that catches the eye is a series of meticulously selected operation data

2025-11-06

How to manage document tags in AnQi CMS and apply them to different content models?

As an experienced veteran of the content operation of Anqi CMS, I deeply understand the importance of tag management for website content organization, search engine optimization (SEO), and user experience.AnQi CMS with its flexible content model and powerful functions provides a solid foundation for our refined content operation.Next, I will elaborate on how to effectively manage document tags in Anqi CMS and ingeniously apply them to different types of content models.### Overview of document tags in AnQi CMS Document tags in AnQi CMS are a flexible metadata

2025-11-06

How to customize fields in the AnQi CMS content model to meet specific business data requirements?

As an experienced CMS operation person in the security industry, I know the importance of content structure for website operation.A flexible and scalable content model is the foundation for personalized content management and meeting specific business needs.The AnQi CMS performs well in this aspect, allowing us to finely define content models and fields according to business characteristics, thereby ensuring we can efficiently manage and display various complex business data.

2025-11-06

In the content settings of Anqi CMS, how to optimize image processing methods (such as Webp, automatic compression)?

As a senior person who deeply understands the way of content operation of AnQiCMS, I know that high-quality content is not only about the refinement of words, but also about the optimization of its presentation form, especially the visual element of images.The efficiency of image processing directly affects the loading speed of the website, user experience, and even search engine rankings.The AnQi CMS provides us with powerful and flexible image processing functions, allowing us to easily implement WebP conversion and automatic compression optimization measures.### Core image optimization strategy in AnQiCMS content settings In the AnQiCMS management backend

2025-11-06

How to create and manage custom navigation categories (such as footer navigation) in Anqi CMS?

As an experienced website operator proficient in Anqin CMS content management system, I fully understand the importance of the navigation system for website user experience and search engine optimization.A well-designed and easy-to-manage navigation not only guides users to quickly find the information they need but also helps search engines understand the structure of the website, thereby improving the overall performance of the website.AnQi CMS provides powerful and flexible navigation settings, allowing us to create and manage various custom navigations according to website needs, such as common footer navigation, to meet the diverse needs of content display and management. Next

2025-11-06

How to use the homepage TDK settings of AnQi CMS to improve the performance of the homepage in search engines?

As an experienced CMS website operation person in the safety industry, I know the importance of setting the homepage TDK (Title, Description, Keywords) for the website's performance in search engines.This is not just a technical configuration, but also a concentrated manifestation of the website's brand image, core business, and user acquisition strategy.AnQi CMS took full consideration of SEO friendliness from the very beginning, providing operators with an intuitive and powerful TDK configuration function, empowering us to make the homepage of the website the focus of search engines.--- ###

2025-11-06

How to implement image classification and batch operations in the AnQi CMS image resource management function?

As an experienced security CMS website operator, I am well aware of the importance of efficient content management for website success, and the management of image resources is an indispensable part.A well-structured, easy-to-use image resource library that can greatly enhance content creation efficiency and ensure the visual quality of website content.Aqiy CMS provides powerful and practical functions in this aspect, helping operators easily manage image resources.### Overview of AnQi CMS image resource management function The AnQi CMS image resource management function is located under the "Page Resources" module in the background

2025-11-06