Security BLOG

AnQiCMS Help Document and User Guide

How to implement the unified or independent display of multi-site content on the AnQiCMS front end?

For users with multiple websites, brands, or content branches, how to efficiently manage and flexibly display content has always been a core challenge in website operations.AnQiCMS is a content management system designed for multi-site management, which not only provides a unified backend management interface, but also gives users great freedom in front-end content display, allowing for completely independent content display and easy unified calling and aggregation display across sites.Next, we will delve into how AnQiCMS implements these two seemingly opposing yet complementary content display strategies.

📅 November 8, 2025 👁️ 75

The `wordwrap` filter: how to elegantly handle the automatic line break display of long text without truncating words?

In website content display, we often encounter layout problems with long text content.When a piece of text is too long and exceeds the container width, if it is not properly handled, it may cause layout disorder and a decline in reading experience.AnQiCMS (AnQiCMS) provides a very practical template filter - `wordwrap`, which helps us elegantly solve the automatic line break display of long text, and the key point is that it maintains the integrity of words, avoids cutting words in the middle, thereby greatly enhancing the professionalism and readability of the content.

📅 November 8, 2025 👁️ 90

The `random` filter: How to randomly select a character or element from a string or array?

In Anqi CMS template design, we often need to make the website content dynamic and random to avoid the content being too static and to enhance the browsing fun of users.When you want to randomly select one from a series of preset options, text, or data to display, the `random` filter is a very practical tool.It can help you randomly pick a character or element from a string or array (also known as a list or set), adding an element of unpredictability to your website content.

📅 November 8, 2025 👁️ 68

`repeat` filter: How to repeat a specified string N times to generate placeholder content?

In the world of AnQi CMS templates, we often need some flexible tools to quickly build page layouts or generate placeholder content when there is no actual data.The `repeat` filter is a feature that is not very noticeable but very practical, and it can help you output the specified string N times in a concise way. ### `repeat` filter: A practical technique for quickly generating repeated strings In website content management and template design, we often need to display a character, phrase, or even a short segment of HTML code repeatedly.For example, when you need a separator line

📅 November 8, 2025 👁️ 90

The `urlize` and `urlizetrunc` filters: How to handle the display and truncation of long URLs?

In website content operation, we often need to handle various links, whether it is external resources cited in articles or websites left by users in comment sections.However, when these links are too long, they may not only destroy the overall layout of the page, affect its aesthetics, but may also reduce the reading experience of users.Luckyly, AnQiCMS provides a pair of very practical filters—`urlize` and `urlizetrunc`, which can help us manage and display these long or unformatted URLs gracefully.

📅 November 8, 2025 👁️ 68

How to automatically recognize URLs in AnQiCMS templates and convert them into clickable hyperlinks?

In website operation, the flexibility of content display and user experience is crucial.We often need to display some external links or references in the content of articles, product descriptions, or various text areas.Manually adding the HTML `<a>` tag to each URL is not only inefficient but also prone to errors, especially when the amount of website content is large or needs to be updated frequently, which is undoubtedly a cumbersome task.AnQiCMS provides an elegant and efficient solution to this pain point.

📅 November 8, 2025 👁️ 60

`removetags` and `striptags` filters: What is the difference and **choice** when clearing HTML tags?

When managing and presenting content in Anqi CMS, we often encounter a common need: how to elegantly handle HTML tags contained in the content.In order to display a concise summary on the article list page, provide clean meta descriptions for search engine optimization (SEO), or simply to avoid unnecessary style conflicts, removing or filtering HTML tags is a basic and important skill.Aqie CMS provides two powerful filters: `removetags` and `striptags`.

📅 November 8, 2025 👁️ 68

How to control the alignment of a string within a specified width using `center`, `ljust`, and `rjust` filters?

In website content operation, the way content is presented often determines the first impression and reading experience of users.How to ensure that the text information displayed in the website template is uniform, beautiful, and professional, which is a concern for many operators.AnQiCMS as a content management system that focuses on user experience and highly customizable, deeply understands this, and its powerful template engine provides a variety of practical filters to help us easily align strings.

📅 November 8, 2025 👁️ 70

`capfirst`, `lower`, `upper`, `title` filters: how to handle the need for English text case conversion?

In website content operation, the uniformity and beauty of text format are crucial for improving user experience.Especially when dealing with English text, flexibly controlling the case can help us better present information, whether it is used for headings, keywords, or body content.AnQiCMS provides a series of practical template filters to help you easily deal with various English case conversion needs.

📅 November 8, 2025 👁️ 70

How `forloop.Counter` and `forloop.Revcounter` assist in indexing operations during template loops?

In AnQiCMS template development, we often need to handle various data lists, such as article lists, product displays, or navigation menus.The `for` loop is the core tool for traversing these lists.However, simply listing data items often does not meet all needs, we may also need to know the current item being traversed in the list is which item, or how many items are left until the end of the list.

📅 November 8, 2025 👁️ 63