I downloaded the newest version, follow this link to set it up:
but no bootstrap css loaded.
Do I have to call Yii::app()->bootstrap->registerAllCss(); manually in controller?
You just need to call Yii::app()->bootstrap->register() in the layouts or views where you want to use it, that'll insert the base bootstrap css and js (minus plugins). That way you can include bootstrap only where you need it.
After copying the the yii-bootstrap extension's theme directory to your webapp's theme directory rename it to 'bootstrap' and let the webapp know what theme to use by adding the below line to config/main.php just after the name param for the webapp.
'name'=>'My Web Application', 'theme'=>'bootstrap',
Steps that worked for me:
1. http://cniska.net/yii-bootstrap/setup.html (did this)
2. added <?php Yii::app()->bootstrap->init(); ?> to the header of protected/views/layouts/main.php (thanks rizmailov!)
3. added 'name'=>'My Web Application', 'theme'=>'bootstrap', to protected>config>main.php (thanks, Arun!)