Yiibooster Adding Glyphicons To Tbnavbar


Just wondering how you correctly go about adding a glyphicon to a YiiBooster Navbar? I’ve been trying itemOptions but this although sets the class correctly. It doesn’t close the <li> tag before hand or close the <i> tag either.

Sorry if this is a simple fix - I’m sure it is. I just haven’t been able to find out how it’s done.


Jonny :)

Found it!

‘icon’=>‘icon-lock icon-white’