Hello there. Firstly thank you for your very nice ready-to-use bootstrap.
Secondly hope you guys can help me with this issue.
The BootMenu seems to not working when I has subitems, and one of these subitems has also other subitems like this code:
<div id="mainmenu">
<?php
$this->widget('bootstrap.widgets.BootNavbar', array(
'brand' => false,
'fixed' => false,
'fluid' => true,
'collapse' => true,
'items' => array(
array(
'class' => 'bootstrap.widgets.BootMenu',
'items' => array(
array('label' => 'Trang chủ', 'url' => array('/site/index')),
array('label' => 'Giới thiệu', 'url' => array('/site/introduction')),
array('label'=>'Sản phẩm', 'url' => '#', 'items'=>array(
array('label' => 'Tất cả', 'url' => array('product/index')),
array('label'=>'Xe nâng người JLG', 'url'=>'#', 'items' => array(
array('label' => 'AM/Khung nâng di động', 'url' =>'#'),
array('label' => 'Scissorlifts/Xe nâng dạng cắt kéo', 'url' =>'#'),
array('label' => 'Boomlifts/ Xe nâng dạng ống lồng và khớp gập', 'url' =>'#'),
)),
array('label'=>'Xe chạy điện EVERGREEN', 'url'=>'#','items' => array(
array('label' => 'Fairplay/Xe sân golf', 'url' =>'#'),
array('label' => 'HOSS-Xe trong khu công nghiệp, thương mại', 'url' =>'#'),
array('label' => 'EVE – Xe chạy đường phố', 'url' =>'#'),
)),
)),
array('label'=>'Dự án', 'url' => '#', 'items'=>array(
array('label'=>'Samsung', 'url'=>'#'),
array('label'=>'Technivn', 'url'=>'#'),
)),
array('label' => 'Tin tức', 'url' => array('/site/new')),
array('label' => 'Tuyển dụng', 'url' => array('/recruitment/index')),
array('label' => 'Quản trị', 'url' => 'backend.php'),
),
),
array(
'class' => 'bootstrap.widgets.BootMenu',
'htmlOptions' => array('class' => 'pull-right'),
'items' => array(
array('label' => 'Login', 'url' => array('/site/login'), 'visible' => Yii::app()->user->isGuest),
array(
'label' => 'Welcome ' . Yii::app()->user->id,
'url' => '#',
'visible' => !Yii::app()->user->isGuest,
'items' => array(
array('label' => '<span class="badge badge-success">10</span> Messages', 'url' => '#', 'encodeLabel' => false),
array('label' => 'Edit Profile', 'url' => '#'),
'---',
array('label' => 'Logout', 'url' => array('/site/logout')),
),
),
),
),
),
));
?>
</div><!-- mainmenu -->
Hope you can give me some directions to get through this difficulty.
Cheers.