AnQiCMS usage help
AnqiCMS (AnqiCMS) Template Tag Manual
-
Get to Know AnqiCMS
Anqi CMS, an enterprise-level content management system developed using GoLang, is easy to deploy, secure, with an elegant interface, compact, and fast in execution. Websites built with Anqi CMS can prevent many security issues. The design of Anqi CMS is SEO-friendly and includes many common features for enterprise websites, which is very helpful for website optimization and enterprise management -
AnQICMS Installation Tutorial
AnQICMS installation tutorial supports the following operating systems: Windows 7, Windows 8, Windows 10, Windows 11, and various versions of Windows server.Windows XP is not tested for support on Ubuntu, Centos, Red Hat, Debian, and other X86-based Linux versions. -
Common Issues Summary of AnqiCMS
Here are the common problems encountered by users while using AnqiCMS, where you can find some solutions to these problems.How to install and use multiple AnqiCMS on the same server?Each AnqiCMS needs to occupy a port, the default port is 8001, if you want to install multiple AnqiCMS on the same server, then you need to allocate a different port for each project -
AnqiCMS Development Plan
Basic Function (Published) Blog Basic Function Post/Modify Article Create Category Article Display Image Upload Initialize Blog Page TDK Settings Admin Login/Permission Control PC and Mobile End Adaptive Matching Perfect Function (Published) Add Management Backend Automatically Extract and Set Thumbnail Sitemap Automatic Generation Robots Backend Configuration Search Engine Active Push Friend Link Backend Management Add -
Some basic conventions of template creation
AnqiCMS template, using .html as the template file suffix, and stored in the /template template folder. The styles, js scripts, images, and other static resources used by the template are stored separately in the /public/static/ directory.The use of template files is similar to the tag syntax of Django template engine, variables are defined using double curly braces, such as {{variable}}. Conditions -
Template Creation Directory and Template
The root directory of AnqiCMS template is /template, each template set needs to create its own template directory under /template, and add a config. configuration file in the template directory to specify some information about the template.The content format of the config. file is: { "name": "Default template", "package": "d"} -
Template Tags and Usage
The use of template files is similar to the Django template engine's tag syntax, variables are defined using double curly braces, such as {{variable}}.Conditional statements, loop control tags, etc., are defined using single curly braces and percent signs and must be terminated with an end tag, tags must appear in pairs, such as { if archive.Id == 10 } This is the document with ID 10 { endif }. Within the system. -
Backend Feature Introduction
The AnqiCMS content management system backend provides powerful content management and data display functions.According to different functional features, AnqiCMS divides the functions into 10 modules, namely: the background homepage is used as the landing page for users to enter the background, showing document data, access data, and collected data, as well as quick operations, data charts, and other displays.Back-end settings Back-end settings provide global function settings, content settings, associ -
Global Function Settings Help
Global function settings default settings, if the default settings do not meet your needs, you can also customize new settings.The default settings that can be set include: website name. The website name will be attached as a suffix to the page title, usually filled with the brand name, for example: AnQi CMS.Website address is the address that users visit. If you fill in a domain name, you need to resolve the domain name to the server before filling it in. One -
Content Settings Help
The content setting provides the way to set the content image processing.In the content settings, you can set whether to download remote images, which can be set to download and not download. If set to download remote images, the images referenced by external links will be downloaded to the local.If you are using your own image bed, there is no need to select to download remote images.Whether to automatically filter external links when you do not want external site links in the content you post, you can choose to filter external links. Like this -
Contact Information Settings Help
Contact information settings can set default contact person, phone number, contact address, contact email, WeChat ID, and WeChat QR code information. If the default settings do not meet your needs, you can also customize new settings. The default settings that can be set include: the contact person is generally used to set the display on the front-end contact information, for the customer's name, such as: Mr. Wang phone number The phone number is generally filled with the phone number that the user can contact you. -
Home Page TDK Settings Help
The homepage TDK settings can set the content of the three tags title, keywords, and description for the website homepage.Home TDK settings can be set: Home title The home title will be displayed in the tag on the home page, bringing better experience for home optimization.Home page keywords The home page keywords will be displayed in the tag on the home page, used to set the core keywords that need to be optimized for the entire site.Properly setting keywords can -
Website Navigation Settings Help
Website navigation sets the navigation links of the website and is used for display on the website's front page.In addition to setting the default top navigation, you can also add other position navigation according to your own needs, such as footer navigation, sidebar navigation, and other forms of customized navigation content.In the navigation list, it can support up to 2-level navigation links, that is, it only supports one-level drop-down navigation links.In the default settings of the navigation category management, the system contains a default navigation category, if you have a need -
Document Management Instructions
Document management is the document center of the entire site, which can perform various operations such as publishing, deleting, recycle bin, draft management, batch keyword replacement, and so on.Document list The document list displays all documents. You can also perform various operations on the document list, such as adding new documents, deleting, viewing, editing, bulk deleting, searching, and filtering.The document list can be filtered by document title, content model, and category to display the document list content -
Instructions for Adding Documents
The document feature provides powerful document addition operations.By adding a document interface, we can add various types of properties to the document, such as document title, recommended attributes, document classification, thumbnail, tag tags, and more.Add the default features on the interface for adding a document: The document title is a required field, and the document title is used as the h1 title displayed to the user.Recommended attribute document recommended attributes can specify 8 types, can be selected individually -
Help for Document Classification
Document classification management can manage the classification of different content models.Each category belongs to only one content model. Through category management, you can quickly view the document list of the current category, add subcategories to the current category, edit and modify the content of the category, and other operations.After a category is created, its content model is fixed and cannot be changed.In the form for adding and editing document categories, you can enter the following content: document model once selected document model -
Help for Document Tags
Document tag management can view and manage all document tags.The document tags are not classified by category and model, the same tag can be marked for documents of different content models at the same time.The document label is relatively simple, it includes label name, index letter, and description content.You can perform operations such as adding, editing, and deleting in the tag management.Add document tag, you can fill in and add fields such as: tag name, display name of the tag.Index letters index letters will only contain -
Help for Content Model
The content model determines the document function of the entire site. The system is default built-in with Article Model and Product Model these 2 models.The built-in content model can be modified but not deleted.The newly added custom model can be modified and deleted. It should be noted that when you want to delete a model, you must think carefully, as deleting a model will also delete all documents and categories under that model.The content model can modify the content fields such as: model name model -
Page Management Help
Single page management can manage the single pages created, such as the 'Help Us', 'Contact Us', and other pages.Through the single page management interface, you can quickly view the current list of single pages, as well as add single pages, edit and modify, delete, and other operations.In the form for adding and editing a single page, you can enter the following content: Page name, which is the display name of the single page on the front end.SEO title SEO title is used to display the title content to search engines. Note: -
Image Resource Management Help
The picture resource management help function page includes all the images uploaded to the website, as well as video resources.You can easily manage the images and video resources of your website here.You can classify image resources into different categories, you can manage categories on the management interface, and add the categories you need.In the image resource management, you can select images in batches and perform operations such as deleting images and transferring images in batches to specified categories.Click the image -
Static Rule Help
The static rules allow you to define the URL composition form of the website according to your actual needs.For the convenience of users, to reduce the trouble of configuration, the system is built-in with 4 ready-made pseudo-static rules, which can be used directly after selection.The default static rules include: in number mode, document details, document lists, single-page details, document tags, all use {id} as the basis for URL generation, usually used more in Chinese websites.Model Naming -
Link Push Help
The use of the search engine link push function can let you notify major search engines of the documents you publish in a timely manner, so that their spiders can come and crawl the pages in time, achieving the effect of promoting page inclusion.The current system supports the following active push search engines: Baidu Search, Bing Search.The Baidu Search Active Push Interface needs to be used. You need to use the Baidu Search Resource Platform https://ziyuan.baidu.co -
AnqiCMS (AnqiCMS) online demo site
Anqi CMS, an enterprise-level content management system developed using GoLang, is easy to deploy, secure, with an elegant interface, compact, and fast in execution. Websites built with Anqi CMS can prevent many security issues. The design of Anqi CMS is SEO-friendly and includes many common features for enterprise websites, which is very helpful for website optimization and enterprise management -
How to use the DiDi Friend Chain automatic chaining function in AnqiCMS (AnqiCMS)
Exchanging friend links is something every website owner has to go through.Many friends have spent a lot of effort on exchanging friendship links, but the efficiency of the exchange is relatively low, resulting in wasted time.The DiDi Friend Link Platform (https://didi.seowhy.com/) has launched a feature for automatic friend link exchange, which can automatically complete the exchange of friendship links, alleviating the heavy workload of friendship link exchange.As a fully functional C -
How to use custom templates for different models on the AnqiCMS search page
The default template file for the search page of Anqi CMS is search/index.html, in addition to using the default template file, users can also define different search page templates based on different document models.The naming rule for the search page template of each document model is: search/{document alias}.html.For example, if the alias of the article model is article, then the custom search page template file name of the article model will be search/article.html.AanQi CMS has the following significant advantages: simple deployment and security -
How to use AnQiCMS to correctly use Markdown on the web and display mathematical formulas and flowcharts
The new Anqi CMS has added a Markdown editor, so it can support inserting mathematical formulas and flowcharts.But mathematical formulas and flowcharts require third-party plugin support to display normally.Below is an introduction to their usage method. First in the Anqi CMS backend->Global settings->Content settings Enable Markdown editor Create a new document Insert mathematical formulas and flowcharts for testing purposes Apply Markdown default style on the web We use cloudflare -
AnQiCMS (AnQiCMS) default mini-program usage instructions
Explanations: This small program source code supports Baidu intelligent app, WeChat app, Alipay app, Toutiao app, etc., the following configuration instructions and installation method are given as an example of Baidu app. You can download the app code from github's Release https://github.com/fesiong/anqicms-app/releases and unzip it. -
The method of installing multiple AnQi CMS on the server
First, download the AnQiCMS Linux installation package from https://en.anqicms.com/download. Method one: Use the multi-site feature to install multiple AnQiCMS. AnQiCMS does not need to copy multiple copies of AnQiCMS code to install multiple sites on a single server. Please follow the operation steps below to add multiple sites.In the left menu of the Baota panel, click the Website menu, click PHP project, add a PHP site, and fill in the domain name resolved to the server during site creation -
Solution to AnQi CMS unable to log in to the backend
The AnQi CMS cannot log in to the admin panel, no login box is displayed, keeps spinning, solution log in to Baota---find the corresponding site---settings---configuration file---about 50-55 lines, find the following code, add: # # location ~ .*\.(js|css)??$ # { # expires 12h; # error_log /dev/null; # access_log /dev/null;# -
TT panel Docker one-click deployment security CMS tutorial
Install Anqicms application using Docker After installation, search for anqicms in the app store Click the Install button in the search results, enter the installation interface In the installation configuration, enter port 8001 and click Confirm to install.Click OK and the installation will not be completed immediately. Please be patient and wait for 1-5 minutes until the installation is complete.After Docker installation and configuration is complete as shown in the figure below: Use reverse proxy to create a site Switch to the site on the Baota panel, and click the reverse proxy tab to prepare to add a reverse proxy site.Click to add proxy -
Security CMS multi-site installation tutorial
The previous tutorial showed how to install AnQi CMS using Baota's Docker.Read the address: https://en.anqicms.com/help/3628.html Below is an introduction to the Baota reverse proxy site feature and a tutorial on adding multiple Anqicms sites.Add Reverse Proxy Site in Baota Panel In the left menu of Baota Panel, select [ Websites ], on the website page, select [ Reverse Proxy ], and click [ Add Reverse Proxy ] to create a reverse proxy site.On the interface for adding reverse proxy sites, fill in the domain column with the new site's domain name -
Deployment with aaPanel
Installing aaPanel This Docker-based tutorial for installing AnQiCMS is demonstrated using aaPanel (BT International Version).If aaPanel is not installed on your server, follow the steps below to install it. -
1Panel Install AnqiCMS Tutorial
The installation of 1Panel The download address of 1Panel is: https://1panel.cn/ Please install according to the installation instructions on the 1Panel official website.Below it is assumed that you have already installed 1Panel. The other required software: OpenResty, MySQL, please install them from the 1Panel app store.Install AnQi CMS application using Docker Click on the Containers tab in the left menu, select Containers, and click the Create Container button.In the pop-up interface, enter the name, fill -
Introduction to AnQi CMS multilingual site feature
Starting from AnQiCMS version 3.4.7, it supports more powerful multilingual site features.AnQiCMS's multilingual feature supports two implementation methods, one is to use an independent multi-site architecture (suitable for large-scale/customization needs), and the other is a single-site translation plugin architecture (suitable for small and medium-sized/rapid iteration).Two ways to implement multilingual functionality, each with its own advantages and disadvantages, please see the following description. -
How to use the multilingual site feature tutorial one: Independent multilingual site architecture
Starting from AnQiCMS version 3.4.8, it supports more powerful multilingual site features.AnQiCMS's multilingual feature supports two implementation methods: one is to use a separate multi-site architecture (suitable for large/customization needs), and the other is a single-site translation plugin architecture (suitable for small/mid-sized/quick iteration).This will guide you through the multi-language feature of AnQiCMS: Method 1: Independent multi-site architecture (suitable for large/customized needs) This method has higher flexibility, but it also requires higher requirements for site operators, more configuration, and coding work -
How to use the multilingual site feature tutorial two: Single site translation plugin architecture
Starting from AnQiCMS version 3.4.8, it supports more powerful multilingual site features.AnQiCMS's multilingual feature supports two implementation methods, one is to use an independent multi-site architecture (suitable for large-scale/customized needs), and the other is a single-site translation plugin architecture (suitable for small and medium-sized/rapid iteration).Below you will be guided through the multi-language feature of AnQiCMS: ▶ Method 2: Single-site Translation Plugin Architecture (suitable for small and medium-sized/Agile iteration) Operation steps Step 1: Enable the multi-language site feature Log in to the AnQiCMS backend management interface. -
Why Editing Templates in External Editors Does Not Take Effect
The template caching mechanism description: Anqi CMS adopts memory caching optimization strategy in the production environment (production): Preloading at startup: The template files are loaded into memory all at once when the service starts Rendering acceleration: The page requests directly read the memory template, avoiding repeated disk I/O operations Performance advantages: Reduce server load, improve web page response speed to milliseconds level Development modification注意事项 When modifying template files through external editors (Baota panel/VSCode, etc.): ✖ Modifications only affect disk files ✖ The memory cache template does not update automatically -
AnQiCMS - Thank You for Your Support
AnQiCMS is an open source content management system. Every donation you make is a source of motivation for us to continue iterating and serving users.