Does AnQi CMS support custom navigation categories, such as sidebar navigation?

Calendar 👁️ 63

As a senior CMS website operation personnel, I am well aware of the key role of website navigation in improving user experience and content presentation.An efficient and flexible navigation system not only helps users find the information they need quickly, but is also an important part of optimizing the website's information architecture.In AnQi CMS, regarding the support for custom navigation categories, especially for sidebar navigation needs, I can clearly tell you that the system provides powerful and flexible functions to meet these customization requirements.

One of AnQi CMS's design philosophies is to provide an efficient, customizable, and scalable content management solution, one of its core advantages being the flexibility of content display and management requirements.This naturally extends to the configuration of website navigation. The system not only supports mainstream top navigation but also allows operators to flexibly create and manage various custom navigation categories based on the specific layout and content strategy of the website, including common sidebar navigation.

In the AnQi CMS backend management interface, you will find a feature module named "Website Navigation Settings".This module is the core of custom navigation. Here, the system provides the 'Navigation Category Management' function, allowing you to break through the limitations of traditional top navigation and create an unlimited number of navigation categories.This means that, in addition to the default top navigation, you can easily add a category named 'Sidebar Navigation', or 'Footer Navigation', 'Special Topic Navigation', etc., depending entirely on your design requirements.

After creating a custom navigation category, the next step is to add specific navigation links to these categories.In the 'Navigation Link Settings', you can fill in links for each custom category.The Anqi CMS supports multiple link types, including "internal links" pointing to content within the site (such as the homepage, article model homepage, product model homepage, etc.), "category page links" pointing to specific content categories or single pages, as well as highly flexible "external links" that can point to any URL within the site or external resources.Each navigation link can be set to display a name, subtitle, description, and supports a hierarchical relationship of secondary navigation, which is particularly useful for building a clear sidebar menu structure.

Implementing these custom navigation displays on the front page depends on the powerful template engine of Anqi CMS. The system uses syntax similar to the Django template engine, allowing developers and operators to use template tags (especiallynavListLabel) to call and render this navigation data. After you create a category named "Sidebar Navigation" in the background, in the frontend template file, you can specifytypeIdParameters are used to call corresponding navigation data. For example, through{% navList navs with typeId="您侧边栏导航类别的ID" %}With such a label, the system can accurately retrieve the link list you defined for the sidebar and display it in the template in a loop.

In order to better manage template files, AnQi CMS also follows a series of template production conventions. For example, common code snippets, such as sidebars, breadcrumbs, and so on, are usually recommended to be stored inpartial/Under the directory. This means you can create a file namedpartial/sidebar_nav.htmlthat contains the use ofnavListThe code logic for rendering the sidebar navigation tag, then simply use it in the page template where the sidebar needs to be displayed{% include "partial/sidebar_nav.html" %}It can be introduced, which greatly improves the maintainability and reusability of the template.

In summary, Anqi CMS provides complete support for navigation customization from backend management to frontend rendering.Whether it is to create diverse navigation categories to adapt to different regional layouts (such as sidebars) or to precisely control the presentation of navigation content through flexible template tags, Anqi CMS can provide solid technical support to help website operators build beautiful and efficient user interfaces.


Frequently Asked Questions (FAQ)

Q1: How many types of custom navigation categories can I create, such as sidebar, footer navigation, etc?The Anqi CMS has no limit on the number of navigation categories.You can create as many custom navigation categories as needed based on the design requirements of the website, such as main navigation, sidebar navigation, footer navigation, and友情链接 navigation, etc., each category can independently manage its internal links.

Q2: Does the sidebar navigation support multi-level menus, such as having secondary categories under primary categories?Yes, the navigation link setting of Anqi CMS supports up to two levels of menus. You can set a link as a sub-link of another link in the background, so that it can be displayed in the frontend template bynavListWhen the tag is called, it can easily render a sidebar menu containing first and second level layers. More complex nesting can be achieved through templates.categoryListThe tag can further implement this.

Q3: Can I set different navigation content for each sidebar area on my website?Of course, you just need to create multiple navigation categories (such as "Left Sidebar Navigation" and "Right Sidebar Navigation") in the "Navigation Category Management" section in the backend, and add different navigation links to them.Then in your frontend template file, use according to the layout of each sidebar area,navListLabel and pass throughtypeIdSpecify the parameter to call the corresponding navigation category.

Related articles

How to add footer navigation menu in AnQi CMS?

As an experienced security CMS website operator, I know that a perfect website is not only about exciting content, but also about every detail of user experience.The footer navigation menu, although seemingly insignificant, plays a crucial role in enhancing website usability, optimizing SEO structure, and guiding users to explore the content in depth.It usually contains important links of the website, such as About Us, Contact Information, Privacy Policy, etc., allowing users to quickly find the information they need on any page.

2025-11-06

How to create the main navigation of the website in AnQi CMS?

The website's main navigation is the key for users to browse and understand the website structure.It guides users to access important content, optimizes user experience, and plays an important role in search engine optimization (SEO).AnQi CMS provides flexible and powerful navigation management functions, allowing users to easily create, edit, and publish the main navigation that meets their business needs. ### Overview of AnQi CMS Navigation Management The AnQi CMS backend navigation settings module centrally manages the navigation links of the website.

2025-11-06

How to use the recommended attributes (H, C, F, A, S, P, J) of AnQi CMS document and what impact does it have on front-end display?

As an experienced CMS website operation person, I know the core position of content in website operation.The document recommendation feature provided by AnQi CMS is a powerful tool for us to efficiently manage and optimize content, accurately reach users, and thus improve the website's performance.These properties are not only tags for content classification, but also the key to guiding front-end content display and optimizing user experience.

2025-11-06

What are the specific steps to introduce MathJax and Mermaid plugins in Anqi CMS template?

As a senior Anqi CMS website operation personnel, I am well aware that providing rich and professional display forms is crucial for attracting and retaining users in an increasingly complex network content environment.For websites that contain technical content, scientific formulas, or flowcharts, the MathJax and Mermaid plugins can greatly enhance the readability and professionalism of the content.

2025-11-06

How to set the AnQi CMS navigation link to display as a first-level or second-level menu?

As a senior CMS website operation personnel of an information security company, I know that a clear and efficient navigation system is of great importance to a website, as it not only directly affects user experience, but is also an indispensable part of search engine optimization (SEO).In Anqi CMS, setting the navigation link as a first or second-level menu is a relatively simple but powerful operation that can help you flexibly construct the website structure. I will elaborate in detail on how to set up and manage navigation links in Anqi CMS to display first-level and second-level menus.

2025-11-06

What is the difference between the 'Display Name' and 'Subtitle Name' of the AnQi CMS navigation link?

As an experienced CMS website operation personnel, I know the core position of navigation links in website structure and user experience.Each element, from displayed text to hidden attributes, carries the important responsibility of guiding users and optimizing information communication.Today, let's delve deeply into the functions of "Display Name" and "Subtitle Name" in the Anqi CMS navigation settings, which seem similar but actually serve different purposes. --- ### What is the difference between the "display name" and "subtitle name" of AnQiCMS navigation links?In the AnQi CMS backend navigation settings

2025-11-06

What is the practical use of the navigation link description field in AnQi CMS?

As a website operator who is deeply familiar with the operation of AnQiCMS, I know the actual value of each CMS function field.When we navigate in the AnQiCMS backend, in addition to the display name and link address of the navigation, there is also a field named "navigation description", which may look like just a simple text box, but it carries a variety of practical functions in actual operation.It is not only supplementary text information, but also a key element for improving user experience, optimizing content strategy and indirectly helping search engine optimization

2025-11-06

What types of navigation links are supported, and what built-in links are included?

As an experienced CMS website operation personnel, I know that a flexible and powerful navigation system is crucial for the user experience and search engine optimization of the website.AnQiCMS provides rich and intuitive options for navigation link management, allowing content creators to easily build website structures that meet various needs.In AnQiCMS, the setting of navigation links is concentrated in the "Website Navigation Settings" module in the background.This not only supports configuring the default top navigation of the website, but also allows users to create various custom navigation categories to deal with the footer

2025-11-06