akka
unread,Sep 3, 2012, 12:01:07 PM9/3/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to yii-bo...@googlegroups.com
I want to create multilevel BootMenu (I want to use 3 level).
For example, I use this code:
$this->widget('bootstrap.widgets.BootNavbar', array(
'fixed' => false,
'collapse' => true, // requires bootstrap-responsive.css
'items' => array(
array(
'class' => 'bootstrap.widgets.BootMenu',
'items' => array(
array('label' => 'Level 1', 'url' => '#', 'items' => array(
array('label' => 'Level 2', 'url' => '/'),
array('label' => 'Level 2', 'url' => '/'),
array('label' => 'Level 2', 'url' => '#', 'items' => array(
array('label'=>'Level 3', 'url' => '/'),
array('label'=>'Level 3', 'url' => '/'),
)),
)),
array('label' => 'Level 1', 'url' => '#', 'items' => array(
array('label' => 'Level 2', 'url' => '/'),
array('label' => 'Level 2', 'url' => '/'),
array('label' => 'Level 2', 'url' => '/'),
)),
array('label' => 'Logout', 'url' => "/site/logout"),
),
),
),
));
But third level isn't rendering. Any suggestions?