This is a great module and I got it working on several D7 sites successfully.

Now I'm facing the first site which is completely being hosted over SSL and I always get the warning that some components are being hosted over insecure connections. That's all the YUI components that get loaded by the yui-min.js

Is there a way to get all required files hosted locally on our own server so that all will be delivered over SSL? I tried the YUI configurator but I'm not quite sure what to do. Any help is appreciated.

Comments

darklrd’s picture

Hi jurgenhaas

Do have this module running on D7 sites? Did you make changes in current 7.x-1.x-dev code of this module in order to run it successful? If so, it will be really helpful if you could provide a patch or zip file of updated code.

I think its possible to download YUI on your server and then server it locally. I haven't tested it though.

Thanks

jurgenhaas’s picture

I got it working with the zip from @starmate at http://drupal.org/node/1019010#comment-4398792

Regarding the YUI, yes you can download it from the Yahoo server but that almost 10mb in size and that is certainly too much. There must be a smaller package.

Bandy’s picture

Hello,

does the following (Yui 3):

Go into the folder /sites/all/libraries/yui/build/yui

Opens the 3 .js files and look for each.:

http://yui.yahooapis.com/

Replace with:

https://yourdomain.com/sites/all/libraries/yui

look for (e.g.):

VERSION = '3.5.0pr2', or "3.5.0pr2"

del 3.5.0pr2

That was it.

darklrd’s picture

Status: Active » Closed (fixed)

Thanks. Closing this.