Include JS scriptmap no matter what

Hey All,

Recently (not sure when it started) I have been getting the error "$ is not defined" which of course means jQuery is not included in my pages.

Thing is I’ve found jQuery only gets included when I use registerScript() method which is kinda pants cos I use a lot of external JS files which require jQuery on pages that do not use registerScript (jQuery is not included even if I use registerScriptFile()) and I need jQuery to always be included.

Is there anyway of telling Yii to include jQuery at all time without duplicating yiis version of jQuery with one of my own?


Oops I was being stupid I just use register core script function up there.

Thanks for looking anyway.