Open rajeshmjn opened 10 years ago
Yii Booster preload required css, js files. Simply uncomment it.
I'm getting the same error, looks like those methods were deprecated in Yii bootstrap: https://github.com/clevertech/YiiBooster/blob/master/CHANGELOG.md
Commenting those lines out in Editable.php seems to work fine for me.
<?php
// uncomment the following to define a path alias // Yii::setPathOfAlias('local','path/to/local-folder');
// This is the main Web application configuration. Any writable // CWebApplication properties can be configured here. Yii::setPathOfAlias('editable', dirname(FILE).'/../extensions/x-editable');
//Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl.'/extensions/yiibooster/css/bootstrap.min.css');
//Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/extensions/yiibooster/js/bootstrap.min.js');
return array( 'basePath'=>dirname(FILE).DIRECTORY_SEPARATOR.'..', 'name'=>'Admin Panel',
// 'urlManager'=>array( // 'urlFormat'=>'path', // 'rules'=>array( // 'controller:w+/id:d+'=>'/view',
// 'controller:w+/action:w+/id:d+'=>'/',
// 'controller:w+/action:w+'=>'/',
// ),
// ),
// //image uploder components // 'image'=>array( // 'class'=>'ImgManager', // 'versions'=>array( // 'small'=>array('width'=>120,'height'=>120), // 'medium'=>array('width'=>320,'height'=>320), // 'large'=>array('width'=>640,'height'=>640), // ), // ),
);
i've include bootstrap as yiibooster but it throw the exception