When the page structure is set (/admin/CMS/Page) as follows:
-Home (Level = 0)
-About us (Level = 1)
-About company services (Level = 2)
-Foo bar (Level = 3)
-Our Management Team (Level = 2)
-Some other section (Level = 1)
-Some sub section (Level = 2)
-...
When {% show_menu a B c d %} is inserted in the template, it is actually rendered as a ul-Li menu, and ABCD is the configuration parameter for menu rendering.
A = start)
B = end)
C = inactive)
D = active)
{% Show_menu 1 2 0 100%} indicates:
A = 1: The menu is rendered from level1, excluding home.
B = 2: menu rendering ends until level2 ends, excluding Foo bar.
C = 0: For inactive menu branches of the same level, 0 levels (number) is displayed. That is, if you are on the about us page, no links under some other section are displayed,
But we can see that about company... and our management. Because at this time, the current about us branch is active in the sense, and some other section branches are inactive in the sense.
D = 100: for the current active branch, 100 levels (number) on the current page can be displayed, which is why the aboutcompany... and our management team are displayed.
Refer
Django-CMS show_menu parameter explanation