rejetto forum

Live template - insecure content warning

0 Members and 1 Guest are viewing this topic.

Offline Neirboen

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
I just want to start out by saying that I love the Live template!

I thought I would post this small adjustment I had to make for secure hosting in case anyone else was looking for this. I apologize if this was posted elsewhere.

I use Stunnel on the server side of my site to add SSL functionality. When I loaded up the Live template, I noticed I was getting the "insecure content" warning on every page load with IE, and in other browsers like Firefox it would say the page was only partially secure; that had never happened before until I was using Stunnel AND the Live template. After pulling many hairs out of my head looking for the source of the issue and the fix, I finally figured out that the jQuery reference here was causing it: "<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>"

If you modify the line and take out the http so it looks like this, "<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>", then you don't have to worry about it switching between secure and insecure content. It worked for me!

This is my first post here, and I hope this helps others. :)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
welcome!
and thanks for sharing.
this is the same solution used in the default template.


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
https is slower
local copy is slower and takes bandwidth


Offline MelkiyProd.

  • Occasional poster
  • *
    • Posts: 70
  • Languages: English, Русский, Українська.
    • View Profile
I would just use https://, or the local copy.

The template "live" will be updated? Coz at new HFS have new function :)