1
無法使用禪宗子主題列出子菜單項。Drupal:主菜單的子菜單沒有顯示在禪宗子主題
我的主菜單:
-> Home
-> Product
-> men
-> female
-> about
我的問題:
- >子菜單中的 「男性」 和 「女性」 不顯示
我做了什麼至今:
我的代碼在page.tpl.php
<?php if ($main_menu): ?>
<?php
// This code snippet is hard to modify. We recommend turning off the
// "Main menu" on your sub-theme's settings form, deleting this PHP
// code block, and, instead, using the "Menu block" module.
// @see https://drupal.org/project/menu_block
print theme('links__system_main_menu', array(
'links' => $main_menu,
'attributes' => array(
'class' => array('links', 'inline', 'clearfix'),
),
'heading' => array(
'text' => t('Main menu'),
'level' => 'h2',
'class' => array('element-invisible'),
),
)); ?>
<?php endif; ?>
<?php print render($page['navigation']); ?>
我已經檢查「顯示爲擴大」在主菜單產品菜單項也。
請爲我提供解決方案。