During the operation of a website, whether it is to meet legal and regulatory requirements or to enhance the professionalism and user trust of the website, it is very important to clearly display the filing number and copyright information at the bottom of the website.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 back-end management interface. This is the starting point for all website basic information configuration.
- Enter Global Function Settings:Find and click on the navigation menu on the left.“Backend Settings”,then select from the drop-down options“Global Function Settings”. This page collects 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 fill in your website record number, for example, “Beijing ICP preparation XXXXXXXX number”.Generally, you only need to fill in the main part of the filing number, and the system can automatically generate the complete link according to your template settings when called on the front-end.
- 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'.
<strong>To bold the text, or<a href="...">Add a link, the system can parse and display them well.
After filling out, remember to click the "Save" button at the bottom of the page to ensure that your changes are recorded by the system.
第二步:修改模板文件以显示信息 (English)
Just filled in the information in the background, the website front-end cannot display automatically yet. We need to modify the template file to tell AnQiCMS where and how to display these contents.
AnQiCMS uses a template engine syntax similar to Django, which makes the modification of template files very intuitive.The page structure of a website is usually composed of a series of template files, and the common parts at the bottom of the website (such as filing number and copyright information) are usually concentrated in a common template file, which ensures that all pages are displayed uniformly.
Locate the public bottom 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 topic folder, there is usually a public template file responsible for the bottom content of the page, which may be named
bash.html(If your template puts common elements like headers and footers in a base file), or inpartial/the directory to find similarfooter.htmlSelect a file that best represents the bottom area of your website and modify it.
Insert the filing number information:Open the bottom template file you find. At the position where you want to display the record number, usually
<footer>Insert the following code snippet inside the tag: “`twig