How to publish assets in SSL

I’m creating a facebook page in Yii, it needs to be able to run in SSL. Everything is running fine, except the assets are loaded without SSL, therefore invalidating the security of the whole page (CSS/JS is not shown in IE)

Check this screenshot, I marked the assets red… (my app is the one running on

How can this be fixed? I’m currently hardcoding the assets using script/style tags, but it’s hard to prevent the core scripts from showing…

it is not so hard to prevent core scripts from showing - simply map them to ‘null’ in scriptMap

in config file, clientScript component add

'scriptMap' => array(





and assets disabled like this won’t be loaded on page…

Thanks redguy, that’s a start.

Provide snippet of how you put those links to assets in view/action