How to display the filing number and copyright information at the bottom of the AnQiCMS website?

Calendar 👁️ 87

In website operations, the information display at the bottom of the website, especially the filing number and copyright statement, is not only an embodiment of website compliance, but also an important way to convey trust and professionalism to visitors.For websites built using AnQiCMS, flexibly and efficiently displaying these key information at the bottom of the website is a basic operation to improve user experience and meet legal and regulatory requirements.

Set the record number and copyright information in the AnQiCMS background

In AnQiCMS, managing the website's filing number and copyright information is very convenient. These core configuration items are all concentrated in the background "Global Function Settings".

To access these settings, you can log in to the AnQiCMS admin interface, then navigate to the "Backend Settings" area in the left menu, find and click on "Global Settings" in the dropdown options.

After entering the "Global Settings" page, you will see several important configuration fields:

  • Record numberHere is used to fill in the备案number that your website has obtained. Please ensure that the备案number filled in is accurate and error-free, usually it does not contain-1Suffixless pure filing number, for example, 'Jing ICP preparation XXXXXXXX number'.
  • Copyright informationThis field is used to fill in the copyright statement of your website. You can write the copyright text as needed, for example “©2023 Your Company Name. All Rights Reserved.

After filling out this information, be sure to click the save button at the bottom of the page to ensure that your changes are recorded by the system.

Information is called in the footer template of the website.

In AnQiCMS, the display of website content depends on template files. Typically, content such as the filing number and copyright information, which is displayed at the bottom of all pages on the site, is placed in a common template file, such asfooter.htmlorbash.html(If your template treats the footer as a common base part).

AnQiCMS provides simple and easy-to-use template tags, allowing you to easily call the record number and copyright information set in the background in your template. You will use{% system %}this tag.

In particular, the label for calling the record number is{% system with name="SiteIcp" %}and the label for calling the copyright information is{% system with name="SiteCopyright" %}.

In practical applications, the record number usually needs to be linked to the Ministry of Industry and Information Technology government service platform (https://beian.miit.gov.cn/),For easy verification by the user. Therefore, you can construct the display of the filing number in the template like this:

<p>
    <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">
        {% system with name="SiteIcp" %}
    </a>
</p>

The display of copyright information is more direct. If your copyright information may contain HTML tags (such as bold, links, etc.), it is recommended to use|safeA filter to ensure that HTML code is parsed correctly instead of being escaped:

<div>{% system siteCopyright with name="SiteCopyright" %}{{siteCopyright|safe}}</div>

here,siteCopyrightis for{% system with name="SiteCopyright" %}The variable name assigned to the{{siteCopyright|safe}}to output its content and ensure that HTML is displayed normally.

Example Code

Assuming your website footer file (for exampletemplate/default/partial/footer.htmlThe general structure is as follows, you can integrate the above tag fragments into it:

<footer class="site-footer">
    <div class="container">
        <div class="footer-content">
            <!-- 其他底部内容,例如友情链接、联系方式等 -->
            
            <div class="footer-info">
                <p>
                    <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">
                        {% system with name="SiteIcp" %}
                    </a>
                </p>
                {% system siteCopyright with name="SiteCopyright" %}<p>{{siteCopyright|safe}}</p>
            </div>
        </div>
    </div>
</footer>

Add this code to the footer of your website template, save it, and you will see the filing number and copyright information displayed on the website front end.

Points to note

After completing the settings of the filing number, copyright information, and template modification, there are several important points to pay attention to:

  • Clear cacheThe AnQiCMS system has a caching mechanism, especially after modifying template files or core configurations, it is strongly recommended that you click the 'Update Cache' button in the background to clear the system cache to ensure that the latest changes take effect immediately and are displayed on the website front end.
  • Ensure information accuracyThe registration number is a legal requirement, be sure to ensure that it is consistent with the information in your Ministry of Industry and Information Technology filing system. The year in the copyright information should also be updated in a timely manner to maintain its timeliness.
  • Template Location: Confirm that you are modifying the template file currently in use on the website. If you have used multiple sets of templates or sub-templates, make sure to modify them in the correct template path.

By following these simple steps, your AnQiCMS website can professionally and legally display the filing number and copyright information, adding an official and credible touch to your website.

Frequently Asked Questions (FAQ)

1. I have set up the record number and copyright information in the background, and also modified the template file, but why is the front page not displayed?

This is usually due to the website cache not being updated. AnQiCMS provides a caching mechanism to enhance website access speed, but this means that changes may not be reflected immediately.You can try to log in to the AnQiCMS backend, click on the "Update Cache" feature at the bottom of the left menu bar to clear all cache.In addition, check whether you have modified the correct template file, as well as whether the path of the template file is correct.Sometimes the browser's local cache may affect the display, you can try clearing the browser cache or accessing in incognito mode.

2. The link next to the record numberhttps://beian.miit.gov.cn/Is it mandatory?

In accordance with the Internet management regulations in Mainland China, all websites that have been filed must link the filing number to the Ministry of Industry and Information Technology's government service platform when displaying the filing number at the bottomhttps://beian.miit.gov.cn/This is a mandatory requirement designed to facilitate users in verifying the authenticity of the website record information, and is also an important part of website compliance operation.

3. If my copyright information contains special characters or HTML code (such as bold, links), will AnQiCMS display it correctly?

Yes, AnQiCMS can correctly handle copyright information that contains special characters or HTML code. When you enter HTML code in the "Copyright Information" field in the background, in order to ensure that these codes are parsed in the front-end instead of being displayed as text directly, you can use the template in|safea filter. For example:{{siteCopyright|safe}}This filter tells the template engine that this content is safe HTML and can be output directly.

Related articles

How to dynamically retrieve and display the website logo image address in AnQiCMS templates?

In web design, the logo is not just a symbol of the brand, it is also the core of the website's recognition.For a content management system like AnQiCMS, the ability to flexibly call and display the website logo in templates is the key to improving operational efficiency and maintaining brand consistency.The good news is that AnQiCMS provides a very intuitive and powerful way to dynamically retrieve and display the image address of your website's Logo, allowing you to easily manage your brand image without touching the core code.

2025-11-07

How to display the system name configured in the background of AnQiCMS website?

Conveniently display the system name configured in the AnQiCMS website The system name of the website is a core component of its online identity, it is not just a simple name, but also a key to brand image, search engine optimization (SEO) and user identification.For AnQiCMS users, displaying the system name configured in the background on the website frontend can ensure consistency of website information, enhance user experience, and improve search engine friendliness.

2025-11-07

How to display the title and link of the previous and next articles on the article detail page?

In website operation, the 'Previous' and 'Next' navigation function on the article detail page not only effectively improves the user's reading experience and guides them to continue browsing more content, but also has a positive impact on the website's SEO performance by building internal links.For AnQiCMS users, implementing this feature is simple and efficient.AnQiCMS provides a straightforward and powerful template tag system, making it easy to display the titles and links of the previous and next articles on the article detail page.You do not need to perform complex programming or database queries

2025-11-07

How to use AnQiCMS template tags to dynamically display content data on the front-end page?

## Easily navigate AnQiCMS template tags: make your website content come alive!In today's digital world, a website that can dynamically display content is much more attractive to visitors and improves user experience than a static page.AnQiCMS (AnQiCMS) provides us with a powerful and intuitive template tag system that allows us to flexibly display backend data on the website front-end without writing complex code.This is like having a series of spells that, with a few taps, can bring the website content to life.The template tag design of AnQiCMS has borrowed the syntax of Django template engine

2025-11-07

How does the AnQiCMS template display the base URL address of the current website?

In website operation and template development, accurately obtaining and displaying the basic URL address of the current website is a very basic but important requirement.It is crucial to understand how to flexibly call the basic URL of the website in AnQiCMS template, whether it is for correctly loading the static resources of the website (such as CSS, JavaScript, and images), or for building dynamic internal links, or for generating Canonical URL in accordance with SEO standards.AnQiCMS as an efficient and customizable content management system, fully considers this requirement

2025-11-07

How to get and display the contact phone number and address set in the AnQiCMS template?

It is crucial to clearly and accurately display contact information in website operations to enhance user trust and promote communication and exchange.AnQiCMS provides a convenient backend setting and template calling mechanism, allowing you to easily manage and display this key information.This article will introduce in detail how to configure contact phone numbers and addresses in the AnQiCMS backend, as well as how to obtain and flexibly display this content in website templates.--- ### One, configure the contact phone number and address in the AnQiCMS backend Firstly, we need to configure in AnQiCMS

2025-11-07

How to safely display user-entered HTML content (such as article text) in AnQiCMS templates?

In website content operations, displaying user input information is one of the core functions, especially like the main text of articles that may contain rich formatting content.However, how to safely and accurately present these user-entered HTML content on the website while preventing potential security risks (such as cross-site scripting XSS attacks) is a problem that every website operator needs to think deeply about.AnQiCMS provides flexible and powerful tools for template design and content processing to meet this challenge.### AnQiCMS's default security mechanism: automatic escaping is the cornerstone AnQiCMS

2025-11-07

How to display the article list on the AnQiCMS website and support sorting by publish time in descending order?

When running a website, effectively displaying a content list is a key factor in attracting visitors and enhancing user experience.For friends using AnQiCMS, the system provides very flexible and powerful template functions, which can easily meet various complex content display needs.Today, let's discuss how to display the article list on the AnQiCMS website, ensuring that the articles are sorted from the most recent to the oldest in publication time, while also supporting friendly pagination features.AnQiCMS's template system borrows the syntax of Django template engine

2025-11-07