Table of Contents
Django-cms Menu
Navigation
Dynamic topic based navigation using category. E.g., the navigation show menu for different category in blog app. This is done by using blog menu. A more generic solution is preferred.
show_menu_below_id
If you have set an id in the advanced settings of a page, you can display the submenu of this page with a template tag. For example, we have our blog page that is not displayed in the navigation and that has the id “blog”:
<ul>
{% show_menu_below_id "blog" %}
</ul>
You can give it the same optional parameters as show_menu:
<ul>
{% show_menu_below_id "blog" 0 100 100 100 "myapp/menu.html" %}
</ul>
{% show_menu_below_id "blog" 0 1 0 1 "new_theme/templates/includes/menu/navigation.html" %}
Unlike showmenu, however, soft roots will not affect the menu when using showmenubelowid
Limit the Item and sorted Item List
We edit the menu template:
vim new_theme/templates/includes/menu/navigation.html