Hy,
If I turned on the SSL protocols and using https:// in my domain wich use MAX theme the Google map in the contact place is missing. The Firefox/Chrome blocked the non-secured scripts. May you tell me, how can I fix it? I think the error is in the module. When I checked the developer console I found this error message:
-
Mixed Content: The page at 'https://mydomain.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800,800...|Noticia+Text|Syncopate:400,700&subset=latin&v=1394211350'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://mydomain.com/' was loaded over HTTPS, but requested an insecure script 'http://maps.googleapis.com/maps/api/js?sensor=false'. This request has been blocked; the content must be served over HTTPS.
Two links with http:
Where can modifying the links?
Hi,
1 - Link http://maps.googleapis.com/maps/api/js?sensor=false
=> Please open file Page.Preprocess.Inc in folder sites\all\themes\md_max\preprocess\
Line 61 :
2 - Link http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800,800italic| ....
=> Please open file Html.Preprocess.Inc in folder file sites\all\themes\md_max\preprocess\
Line:
Hi,
Please replace link
with
You can find the same link at comment #2 of Cindy (file Page.Preprocess.Inc in folder sites\all\themes\md_max\preprocess\, Line 61) then replace YOUR_API_KEY with your own key.
Hi,
I have the same problem. Wouldn't it make sense to provide an update to the theme, so that jquery and google maps are loaded via https? Because if there is an update to the theme (that doesn't replace that links), I would have to replace the same links again. Furthermore, I don't think there would be a downside for people who don't use https on their site.
Despite of that, I really like that theme! Keep up the good work!
Best,
David
Hi David,
Thank you for your concern about MD Max. We will consider an updated version of this theme in the future. If you have same problem with map, please try above solutions.