I need a navbar (having static content) which I find Yiibooster offers as [font=“Courier New”]bootstrap.widgets.TbNavbar[/font]. What I’m trying to understand is what are the pros and cons of using [font=“Courier New”]bootstrap.widgets.TbNavbar[/font] version as opposed to directly using bootstrap’s navbar.
One pro that I can think of is that using [font="Courier New"]bootstrap.widgets.TbNavbar[/font] insulates me from underlying bootstrap css changes and can perhaps upgraded/migrate to a newer version more easily. But can I customize as easily?
I guess this is a generalized question. When I have static content that’s not tied to any model etc., which version should I stick to? Yiibooster’s or direct twitter bootstrap and why?
So I’ve got [font=“Courier New”]yiibooster[/font] integrated into my app. I’m trying to figure out how to use the bootstrap directly from yiibooster extension folder: [font=“Courier New”]yiibooster/assets/bootstrap/css[/font].
For example, the bootstrap default navbar example page here, gives the following html:
<nav class="navbar navbar-default" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<!-- More code here-->
</div>
</nav>
I can’t find [font=“Courier New”]navbar-default[/font] in any of the css files available @ [font=“Courier New”]yiibooster/assets/bootstrap/css[/font].