How to set the website logo and filing number and ensure they are displayed correctly on the page?

Secure CMS: Website Logo and Filing Number Settings and Display Guide

An professional and compliant website cannot do without a clear brand identity (Logo) and necessary legal information (such as the filing number).Auto CMS provides a convenient way for you to manage these important website elements and ensure they are displayed correctly on the page.This article will introduce in detail how to set your website logo and filing number in the Anqi CMS backend, as well as how to correctly reference them in the website template.

1. Settings in the Back-end

Firstly, you need to log in to the backend management interface of AnQi CMS, and find the basic information settings area of the website.

  1. Enter the global settings pageAfter logging in to the back end, please find the in the left navigation bar, click to enter, and select the page.This page includes all the basic configurations necessary for the website to run.

  2. Set the website logoIn the [Global Settings] page, you will see an option named [Website Logo].Click the corresponding upload button to select and upload your website Logo image.Suggest choosing a high-quality, transparent background logo file to adapt to different website designs.After uploading successfully, the system will automatically save and apply the new Logo image.

  3. Set the record number紧接着,您会看到的输入框。If your website has completed the MIIT filing, please fill in your filing number here, for example, “Guangdong ICP forXXXXXXXX”.Please note that when entering here, there is no need to manually add the suffixes such as “-1” after filing, as the system usually handles its format.The record number is an important sign of the legal and compliant operation of the website, please be sure to fill it in accurately.

Complete the Logo and Filing Number settings, and remember to check if there is a Save button on the page to ensure that your changes have taken effect.

Second, call and display in the template

Just setting up the Logo and record number in the background is not enough, they will not appear automatically on your website pages.You need to correctly reference this information in the website template files so that it can be displayed on the front page.In most cases, the Logo will be displayed in the website header (header), while the record number is often found in the footer (footer).

English CMS provides a concisesystemTags to obtain this global setting information.

  1. Call the website logoThe website's logo is usually placed in the<header>header area. In your template file (for examplebase.htmlorheader.htmlIn English, you can use the following code to reference the Logo set in the background:

    <img src="{% system with name="SiteLogo" %}" alt="{% system with name="SiteName" %}" />
    

    Here,{% system with name="SiteLogo" %}It will directly output the URL address of the Logo image you upload on the backend. At the same time, in order to optimize the website's SEO and accessibility, we recommend that you usealtThe text provides descriptive information for the image{% system with name="SiteName" %}It will output the website name you set in the

  2. Call the record numberThe record number is usually placed in the footer area of the website. In your template file (for examplebase.htmlorfooter.html), you can use the following code to display the record number:

    <p>
        <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">
            {% system with name="SiteIcp" %}
        </a>
        &copy;{% now "2006" %} {% system with name="SiteName" %}. All Rights Reserved.
    </p>
    

    In this code,{% system with name="SiteIcp" %}The license number you fill in the background will be output. For the convenience of visitors to inquire, we usually link it to the MIIT license inquiry platform (https://beian.miit.gov.cn/),and addrel="nofollow"andtarget="_blank"Properties, to meet SEO practices and user experience.{% now "2006" %}It will automatically display the current year,{% system with name="SiteName" %}then the website name is called again, forming the complete copyright information.

Through these steps, your website's logo and filing number will be displayed correctly on the page.If you find that the settings do not take effect immediately after being set, please try to clear the browser cache and the cache on the website backend, which usually solves the problem.

Common Questions (FAQ)

  1. Why does the front page not display or display incorrectly even though I uploaded the Logo?Firstly, please make sure that you have uploaded and saved the Logo successfully in the background [Global Settings]. Secondly, check if your website template files (usually) have used the correctbase.htmlorheader.html) have used the correct{% system with name="SiteLogo" %}Label to call.If the code is correct, please try to clear your browser cache and the cache of the CMS backend (find the option [Update Cache] in the backend menu).In addition, check whether the image file format is supported by the browser, or whether there is a problem of the image size being too large to cause loading failure.

  2. My record number has been filled in the background, why isn't it displayed in the footer?Please first confirm whether you are in the website template file (usually)base.htmlorfooter.html) and added{% system with name="SiteIcp" %}Label.If not added, the filing number will not be displayed naturally.If added, please check if the label spelling is correct, and try to clear the browser and background cache.{% now "2006" %}(Get the current year) and{% system with name="SiteName" %}(Get the website name)label to implement.

  3. Why does the image I upload automatically convert to WebP format? Will this affect the display of the Logo?The security CMS is built-in with optimization features, which may have enabled the option 'Whether to start Webp image format' or 'Whether to automatically compress large images' in the 'Background Settings' - 'Content Settings'.When these options are enabled, the system will automatically convert uploaded JPG/PNG images to WebP format to reduce file size and improve website loading speed.WebP format is widely supported by modern browsers and usually does not affect the display of the Logo.If your Logo displays abnormally after converting to WebP, you can try disabling these content optimization settings, or directly upload a Logo file in WebP format.