I am trying to get Yii 1.1.16 to read my user file jQuery-ui.min.cssinstead of the one that appears by default.
I tried editing clientScriptin mine main.php, but didn't seem to be able to get it working.
Here is my code
'components'=>array(
'clientScript'=>array(
'scriptMap' => array(
'jquery-ui.css' => '/css/jquery-ui.min.css',
),
'packages'=>array(
'jquery'=>array(
'baseUrl'=>'js/',
'js'=>array('jquery.min.js'),
),
'jquery.ui'=>array(
'baseUrl'=>'',
'js'=>array('js/jquery-ui.min.js'),
'depends' => array('jquery')
),
),
It adds the default css every time I call the widget CJuiButton. Any solutions?
source
share