When using a content management system, efficiently displaying and organizing various information is the key to improving website user experience and operational efficiency.AnQiCMS on this point provides very flexible and powerful features, which not only supports a variety of content list display, but also allows for content filtering through multiple dimensions, helping users accurately present information.

Diverse content list display: Beyond traditional article lists

One of AnQiCMS's core advantages lies in its 'flexible content model'.This means that the website is not limited to traditional article publishing. You can create various types of content according to your business needs, such as product showcases, service introductions, event announcements, and even case studies.This content of different types can be managed and displayed in a unified way.

The most common way to display these content lists is through templatesarchiveList

  • Tag aggregation list: ThroughtagDataListLabel, you can display all documents associated with a specific label, which is very useful for building special theme pages or content aggregation.
  • Page list: UtilizingpageListLabels, you can list all independent pages in the website (such as "About Us
  • Category list:categoryListThe tag is used to display the classification structure of the website, whether it is a first-level category or a multi-level subcategory, it can be flexibly called.
  • Other auxiliary lists: In addition, AnQiCMS also provides such aslinkList(Friendship link)、commentList(Comments),navList(Navigation) andbannerList(Banner image) and various list labels, greatly enriching the possibilities of website content presentation.

This diverse list display capability ensures that no matter how complex the structure of your website's content, AnQiCMS can provide suitable tools to present them.

Flexible selection: accurately locate the required content

Having a rich list type is just the first step, what's more important is how to accurately filter out the target information from a massive amount of content.AnQiCMS provides a multi-dimensional filtering mechanism, making content management and display more refined.

Filter content by category

Categories are the most fundamental and most commonly used way to organize content. InarchiveListIn the tags, you can go throughcategoryIdParameters specify which category or categories of content to display. For example, if you want to display the latest articles under the "News and Updates" category on the homepage, you just need to pass the corresponding category ID.categoryIdEnglish translation: It can be. Furthermore, if you want to display the content of a category and all its subcategories at the same time, you can setchild=true,The system will automatically aggregate all related content, saving the trouble of manually adding each subcategory ID one by one.

Filter by content model

The content model is a unique feature of AnQiCMS, allowing you to define the structure of content (for example, article models have titles and body, while product models may also include price, stock, etc.).moduleIdParameter, you can specify to display content under a specific content model.This is very practical in websites with multiple businesses or content types.For example, only the content under the "Product Model

Advanced Custom Filtering

除了基础的分类和模型筛选,AnQiCMS还支持更高级的English筛选。When creating a content model, you can add various custom fields (such as "product colorarchiveFiltersTags, combined with URL query parameters, users can perform multiple filters on the front-end page based on these custom fields.For example, on real estate websites, users can simultaneously filter for listings of 'residential' type, with '3 bedrooms and 2 living rooms' layout, and located in the 'downtown' area, to achieve highly personalized content display.

Filter by Tag

Tags provide a flattened way to associate content, allowing content from different categories or models to be tagged with the same label. UsetagDataListLabel, you can usetagIdParameter filtering to select all documents with specific labels. This is very effective for creating hot topics, thematic aggregation pages, or related content recommendations.

other auxiliary filtering

To further optimize content display,archiveListtags also support other auxiliary filtering conditions:

  • Sorting method (order): You can sort content by publish time (id desc), and page views (views desc) or custom sorting in the background (sort desc) to arrange content.
  • Recommended attribute (flag)Content can be set with different recommendation attributes (such as headlines, recommendations, sliders, etc.) at the time of publication. You canflagfilter and display content with specific recommendation attributes using parameters.
  • search keywords (q):Combine search functionality,qParameters can directly filter document lists containing specific keywords in the title.

Pagination and dynamic loading: improve user experience

For websites with large amounts of content, loading all content at once will severely affect page performance. AnQiCMS providestype="page"Parameters withpaginationa combination of tags, providing an elegant pagination solution. WhenarchiveListsettype="page"It will return the data required for pagination, thenpaginationLabels are responsible for generating attractive and functional pagination navigation.This not only speeds up page loading, but also allows users to easily browse a large amount of content, thereby enhancing the overall user experience.

In summary, AnQiCMS, with its flexible content model and powerful content list display and filtering mechanism, provides great convenience to website operators.Whether it is a simple article list or a complex product display page with multiple filtering conditions, AnQiCMS can help you present website content efficiently and accurately, thereby better serving your users.


Common Questions (FAQ)

  1. Q: Can I display documents from different content models at the samearchiveListtag?A: Usually, onearchiveListLabels are for querying and displaying content for a single or a group of identical models. If you need to display content for mixed models in a single area, it is recommended to use multiplearchiveListLabel, each label specifies a differentmoduleIdThen, combine them through frontend layout (such as side-by-side display or tab switching).

  2. 问:If I want to filter the list based on the value of a custom field selected by the user on the front end, how should I implement it?答:AnQiCMS providesarchiveFiltersLabels to support this requirement. First, you need to check "Whether as a filtering condition" in the custom fields of the content model. Then, usearchiveFiltersLabel gets all filterable parameters and their options, and generates a frontend filtering UI. When the user selects a filtering condition, the frontend generates a URL with query parameters.archiveListLabels will automatically recognize these URL parameters and filter the content accordingly.

  3. 问:After applying multiple filter conditions, may the URL become very long, which might affect SEO?答:Long URLs with a large number of parameters can indeed have an impact on SEO, especially in terms of search engine crawling and indexing.AnQiCMS supports pseudo-static rules, which helps to beautify the URL.canonicalTags point to the main, simpler pages; b) Inrobots.txtAutomatically configure, avoid unnecessary parameter combinations being captured by search engines; c) Optimize the filtering logic, try to reduce the number and complexity of URL parameters, or load unimportant filtering conditions using AJAX without changing the URL.