Closed (fixed)
Project:
DrupalChat
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2011 at 18:11 UTC
Updated:
16 May 2012 at 16:28 UTC
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
Comment #1
darklrd commentedHi 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
Comment #2
jurgenhaasI 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.
Comment #3
Bandy commentedHello,
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.
Comment #4
darklrd commentedThanks. Closing this.