YiiStrap没有在Yii 1.1.16上工作?

Im new to use Yii framework. And I wonder how can I make bootstrap work together with Yii. Followed instructions from getyiistrap.com

I don't get any error but I cannot make the bootstrap work. I know because I test it in Yii Skeleton page. Buttons class is not working



// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');
Yii::setPathOfAlias('bootstrap', dirname(__FILE__) . '/../extensions/bootstrap');

// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return array(

    'name'=>'My Web Application',

    // preloading 'log' component

    // path aliases
    'aliases' => array(
        'bootstrap' => realpath(__DIR__ . '/../extensions/bootstrap'), // change this if necessary
        'vendor.twbs.bootstrap.dist' => realpath(__DIR__ . '/../extensions/bootstrap'),

    // autoloading model and component classes


        // uncomment the following to enable the Gii tool

            // If removed, Gii defaults to localhost only. Edit carefully to taste.
            'generatorPaths' => array(



    // application components

            // enable cookie-based authentication

        'bootstrap' => array(
            'class' => 'bootstrap.components.TbApi'),

        // uncomment the following to enable URLs in path-format

        // database settings are configured in database.php

            // use 'site/error' action to display errors

                    'levels'=>'error, warning',
                // uncomment the following to show log messages on web pages


    // application-level parameters that can be accessed
    // using Yii::app()->params['paramName']
        // this is used in contact page

    'theme' => 'bootstrap', // requires you to copy the theme under your themes directory

    //not sure whats this for? dont even have a theme folder inside yiistrap-master I downloaded from getyiistrap.com



<?php /* @var $this Controller */ ?>
<!DOCTYPE html>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="language" content="en">

    <?php Yii::app()->bootstrap->register(); ?>

    <!-- blueprint CSS framework -->
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection">
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print">
    <!--[if lt IE 8]>
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection">

    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css">
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css">

    <title><?php echo CHtml::encode($this->pageTitle); ?></title>


<div class="container" id="page">

    <div id="header">
        <div id="logo"><?php echo CHtml::encode(Yii::app()->name); ?></div>
    </div><!-- header -->

    <!-- mainmenu -->
    $model=new LoginForm;
        <div id="mainmenu">
        <?php $this->widget('zii.widgets.CMenu',array(
                array('label'=>'Manage User', 'url'=>array('/user/admin')),
                array('label'=>'Payroll', 'url'=>array('/user/payroll')),
                array('label'=>'Contact', 'url'=>array('/site/contact')),
                // array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
                array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
        )); ?>
    </div><!-- mainmenu -->
    } else {
        <div id="mainmenu">
        <?php $this->widget('zii.widgets.CMenu',array(
                array('label'=>'Home', 'url'=>array('/site/index')),
                array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),
                array('label'=>'Contact', 'url'=>array('/site/contact')),
                array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
                array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest),
        )); ?>
    </div><!-- mainmenu -->

    <?php if(isset($this->breadcrumbs)):?>
        <?php $this->widget('zii.widgets.CBreadcrumbs', array(
        )); ?><!-- breadcrumbs -->
    <?php endif?>

    <?php echo $content; ?>

    <div class="clear"></div>

    <div id="footer">
        Copyright © <?php echo date('Y'); ?> by My Company.<br/>
        All Rights Reserved.<br/>
        <?php echo Yii::powered(); ?>
    </div><!-- footer -->

</div><!-- page -->



/* @var $this SiteController */


<h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>

<p>Congratulations! You have successfully created your Yii application.</p>

<p>You may change the content of this page by modifying the following two files:</p>
    <li>View file: <code><?php echo __FILE__; ?></code></li>
    <li>Layout file: <code><?php echo $this->getLayoutFile('main'); ?></code></li>

<h1>--- *BOOTSTRAP STARTS HERE* ---</h1>

<?php echo TbHtml::muted('Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.'); ?>
    <?php echo TbHtml::em('Etiam porta sem malesuada magna mollis euismod.', array('color' => TbHtml::TEXT_COLOR_WARNING)); ?>
    <?php echo TbHtml::em('Donec ullamcorper nulla non metus auctor fringilla.', array('color' => TbHtml::TEXT_COLOR_ERROR)); ?>
    <?php echo TbHtml::em('Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.', array('color' => TbHtml::TEXT_COLOR_INFO)); ?>
    <?php echo TbHtml::em('Duis mollis, est non commodo luctus, nisi erat porttitor ligula.', array('color' => TbHtml::TEXT_COLOR_SUCCESS)); ?>

       <?php echo TbHtml::button('Default'); ?>
    <?php echo TbHtml::button('Primary', array('color' => TbHtml::BUTTON_COLOR_PRIMARY)); ?>
    <?php echo TbHtml::button('Danger', array('color' => TbHtml::BUTTON_COLOR_DANGER)); ?>
    <?php echo TbHtml::button('Warning', array('color' => TbHtml::BUTTON_COLOR_WARNING)); ?>
    <?php echo TbHtml::button('Success', array('color' => TbHtml::BUTTON_COLOR_SUCCESS)); ?>
    <?php echo TbHtml::button('Info', array('color' => TbHtml::BUTTON_COLOR_INFO)); ?>
    <?php echo TbHtml::button('Inverse', array('color' => TbHtml::BUTTON_COLOR_INVERSE)); ?>
    <?php echo TbHtml::button('Link', array('color' => TbHtml::BUTTON_COLOR_LINK)); ?>

<p>For more details on how to further develop this application, please read
the <a href="http://www.yiiframework.com/doc/">documentation</a>.
Feel free to ask in the <a href="http://www.yiiframework.com/forum/">forum</a>,
should you have any questions.</p>

Here's the image of what I get: Bootstrap not working. Image Link: http://postimg.org/image/l98l6ovjh/

Thanks! :)


Working now..

I added cdnUrl in config/main.php

'bootstrap' => array(
            'class' => 'bootstrap.components.TbApi',  
Csdn user default icon