During the operation of a website, whether it is to meet the requirements of laws and regulations or to enhance the professionalism and user trust of the website, clearly displaying the filing number and copyright information at the bottom of the website is an important aspect.AnQiCMS as an efficient content management system, provides a very flexible and intuitive way to configure and display these key information.
Next, we will introduce step by step how to set and display the filing number and copyright information at the bottom of the AnQiCMS website.
Step 1: Fill in the filing number and copyright information in the background
First, you need to log in to your AnQiCMS admin interface. This is the starting point for all website basic information configuration.
- Enter the global function settings:In the navigation menu on the left, find and click“Background Settings”Then select it from the dropdown options.Global function settingsThis page gathers the core configuration options of the website.
- Locate and fill in the information:On the "Global Function Settings" page, you will see multiple fields used to configure the basic information of the website.
- Record number:Find“Record number”The corresponding input box. Here, you need to enter your website record number, for example, “Beijing ICP preparation No. XXXXXXXX”.Generally, you only need to fill in the main part of the filing number, and the system can automatically generate the complete link when it is called on the front end according to your template settings.
- Copyright information:Next, you will see“Copyright information”The text box. You can enter the company's copyright statement here, for example “© 2024 XXX Company All Rights Reserved”.It is worth mentioning that AnQiCMS here supports you to input some basic HTML tags, such as using
<strong>Or bold text<a href="...">Or add a link, the system can parse and display it well.
After completing the form, remember to click the 'Save' button at the bottom of the page to ensure that your changes are recorded by the system.
Step 2: Modify the template file to display information.
Just filled in the information in the background, the website front end cannot display automatically. We need to modify the template file to tell AnQiCMS where and how to display this content.
AnQiCMS uses a template engine syntax similar to Django, which makes modifying template files very intuitive.The page structure of a website is usually composed of a series of template files, and the common part of the website at the bottom (such as filing number and copyright information) is usually concentrated in a common template file, which can ensure that all pages are displayed uniformly.
Locate the public footer template file:
- You need to access your AnQiCMS installation directory through an FTP tool or file manager.
- Enter
/templateFolder, this is where all your website themes are stored. Select the theme folder you are currently using. - In this theme folder, there is usually a public template file responsible for the content at the bottom of the page, which may be named
bash.html(If your template centralizes common elements like headers and footers in a basic file), orpartial/find similar in the directoryfooter.htmlSelect a file that best represents the footer area of your website for modification.
Enter the filing number information:Open the bottom template file you find. At the location where you want to display the filing number, it is usually
<footer>Insert the following code snippet inside the tag: “`twig