i am working on my final year project and making my web application on netbeans, i am a newbie to yii, i want to install bootstrap in yii, I was following this link bootstrap3.pascal-brewing.de/ , but i am not being able to understand most of the steps. Anyone please tell me how can I install bootstrap in yii by following this link. The things which bothers me are, where to write the code
<?php
$cs = Yii::app()->clientScript;
$themePath = Yii::app()->theme->baseUrl;
/**
- StyleSHeets
*/
$cs->registerCssFile($themePath . ‘/assets/css/bootstrap.css’);
$cs->registerCssFile($themePath . ‘/assets/css/bootstrap-theme.css’);
/**
- JavaScripts
*/
$cs->registerCoreScript(‘jquery’, CClientScript::POS_END);
$cs->registerCoreScript(‘jquery.ui’, CClientScript::POS_END);
$cs->registerScriptFile($themePath . ‘/assets/js/bootstrap.min.js’, CClientScript::POS_END);
$cs->registerScript(‘tooltip’, “$(’[data-toggle=\“tooltip\”]’).tooltip();$(’[data-toggle=\“popover\”]’).tooltip()”, CClientScript::POS_READY);
?>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!–[if lt IE 9]>
<script src="<?php
echo Yii::app()->theme->baseUrl . ‘/assets/js/html5shiv.js’;
?>"></script>
<script src="<?php
echo Yii::app()->theme->baseUrl . ‘/assets/js/respond.min.js’;
?>"></script>
<![endif]–>
in main.php file.
Second thing is when i go to "download the module" link, i cant fine the module. Please help me out, give me a detailed step by step answer.