Vipin Semwal Posted September 12, 2012 Share Posted September 12, 2012 <div id="mainmenu"> <?php $this->widget('bootstrap.widgets.TbNavbar', array( 'type'=>'null', // null or 'inverse' 'brand'=>'', 'brandUrl'=>'', 'collapse'=>true, // requires bootstrap-responsive.css 'items'=>array( array( 'class'=>'bootstrap.widgets.TbMenu', 'items'=>array( //array('label'=>'Home', 'url'=>array('/site/index')), //array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')), array('label'=>'Dropdown', 'url'=>'#', 'items'=>array( array('label'=>'Action', 'url'=>'#'), array('label'=>'Another action', 'url'=>'#'), array('label'=>'Something else here', 'url'=>'#'), '---', array('label'=>'NAV HEADER'), array('label'=>'Separated link', 'url'=>'#'), array('label'=>'One more separated link', 'url'=>'#'), )), array('label'=>'Contact', 'url'=>array('/site/contact')), ), ), ), )); ?> </div><!--main-menu---> Link to comment Share on other sites More sharing options...
Larry Posted September 14, 2012 Share Posted September 14, 2012 Thanks for sharing that! Link to comment Share on other sites More sharing options...
Recommended Posts