I know this stream is quite old. But because of what I just received, I would have thought it would be important to mention this.
Somewhere in the latest versions of Yii, I quickly switched from 1.1.11 to the current one, the package mechanism was not only implemented, but also improved. It existed earlier, but now it actually got apoint, where the previously declared and checked way to set the jQuery part to false
no longer worked. Although, I found out how to fix it!
$cs->packages["jquery"] = [ "basePath"=>Yii::app()->cdn->basePath, "baseUrl"=>Yii::app()->cdn->baseUrl, "js"=>["js/jquery-1.11.1.js"] ];
This is taken directly from my code, but illustrates how I did it. Basically, I added a jQuery entry to the package list. When the main scenarios are decided, this list is scanned before the actual CoreScripts. This way it will be picked up first and you can add your personal jQuery version this way.
Hope this helps!
source share