django-cms 2.2を使用していますが、メニューが突然消えました。エラーメッセージはありません。メニューを除いて、ページは正常にレンダリングされます。使ってます:
{% show_menu 0 0 100 100 "menu/show_menu_template.html" %}
コマンド、そして私がチェックしたようにそれはの中に入るshow_menu_template
。
showmenu_template
標準であり、次のように、それは前に働いていました、乾杯
{% load menu_tags %}
{% for child in children %}
<li class="{% if forloop.last %}last {% endif %}{% if child.selected %}current selected{% endif %}{% if child.ancestor %}ancestor{% endif %}{% if child.sibling %}sibling{% endif %}{% if child.descendant %}descendant{% endif %}">
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ child.get_menu_title }}</a>
{% if child.children %}
<ul>
{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}
</ul>
{% endif %}
</li>
{% endfor %}