As a senior security CMS website operations personnel, I am well aware that a flexible navigation system is crucial for the website user experience and content management.The Anqi CMS provides powerful custom capabilities in navigation functions, surpassing traditional top navigation, aiming to help operators build websites that better meet business needs and user habits.
The navigation design concept of Anqi CMS is not limited to a single main navigation area, it allows operators to create diverse customized navigation based on different functional areas and content types of the website.This flexibility means that, no matter whether you are running an enterprise website, marketing site, or a multi-site cluster, you can finely plan and present the information architecture.
Creation and management of custom navigation categories
In addition to the default top navigation, the core of Anqi CMS lies in the 'navigation category management' function.The operation personnel can easily add navigation categories in the background, organize different navigation menus, and name them, such as 'Footer Navigation', 'Sidebar Menu', 'Product Center Navigation', etc.This approach liberates the navigation menu from the single 'top' concept, allowing it to adapt to the display needs of any area of the website.Each created navigation category has an independent management interface, allowing operation personnel to add, edit, and sort the navigation links under it.This means that you can configure a unique, purpose-specific navigation system for each functional area of the website.
Navigation link configuration options
When adding specific links for custom navigation categories, Safe CMS provides a rich set of configuration options to ensure seamless integration of link content with the website structure.Each navigation link supports up to two levels of hierarchy, meaning a main link can include a sub-level dropdown link, which is sufficient to meet the needs of the vast majority of navigation hierarchy requirements.
FirstlyBuilt-in linkThis includes the home link of the website, the home links of various content models (such as article models, product models, and other custom models).This type simplifies the configuration of the core page, ensuring consistency and convenience.
ThenCategory page linkAllow operation personnel to directly select existing document categories in the website (such as "News and InformationThis greatly improves the association between content and navigation, so that no manual adjustment of link addresses is needed after content is updated.
Finally isExternal LinkProvided the greatest flexibility.The operator can enter any valid URL address, whether it is a specific page within the site, or external cooperative websites, social media homepages, etc.This type is very useful for expanding website functions, integrating external resources, or carrying out marketing promotion.
In addition, each navigation link can also be configured to set the display name, subtitle name, navigation description, and display order.These additional fields can help front-end designers and content operation personnel to achieve richer and more attractive navigation display effects without altering the core link logic.
Call and implementation in the template
In the website front-end template, the CMS throughnavListTags, combined with specifictypeIdParameters to invoke and render these custom navigation. For example, if a navigation category named "Footer Navigation" is created in the backend and assigned atypeId(for example, it is 2),then in the footer template file of the website, you just need to use{% navList footerNavs with typeId=2 %}...{% endnavList %}This code structure can accurately render all links under the navigation category.This mechanism separates content from presentation. When operation personnel adjust the navigation structure and content in the background, the front-end page updates in real time, without the need to modify the code, greatly improving the maintenance efficiency of the website.
In short, the custom navigation feature of Anqi CMS far exceeds the single top navigation.It empowers operation personnel with the ability to build complex, multi-level, and highly customizable website navigation through flexible category management, diverse link configuration options, and convenient template invocation mechanisms.This not only optimizes the user experience in different content areas, but also provides a solid foundation for the overall information architecture and SEO strategy of the website.
Common Questions and Answers (FAQ)
Question: In addition to the top navigation, where can I create and use custom navigation on the website?
答:According to the design of Anqi CMS, you can create and use custom navigation at any location on the website as needed. For example, you can create new navigation categories such as "Footer Navigation", "Sidebar Menu", or "Specific Column Navigation" in the "Navigation Category Management" section in the background, and then place them in the corresponding template locations on the website (such asfooter.html/sidebar.html等)使用navList标签进行调用和展示。
问:安企CMS 的自定义导航支持多少层级?
答:The navigation system of AnQi CMS currently supports up to two-level navigation links.This means you can create a first-level navigation (main menu item) and set up a first-level dropdown sub-navigation underneath, to meet the common information organization and display needs of a website.
问:创建自定义导航时,导航链接可以指向哪些内容?
答:Custom navigation links offer high flexibility. You can choose from three main types: built-in links (such as the home page of the website, the home page of a specific content model, etc.), category page links (pointing to any document category or single page you create in the backend), and external links (which can be any specific page URL within the site, or a URL from another external website).