Author Topic: Live template - insecure content warning  (Read 2722 times)

0 Members and 1 Guest are viewing this topic.

Offline Neirboen

  • Occasional poster
  • *
  • Posts: 1
    • View Profile
Live template - insecure content warning
« on: April 21, 2011, 05:52:58 PM »
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: 12945
    • View Profile
Re: Live template - insecure content warning
« Reply #1 on: April 23, 2011, 12:04:02 PM »
welcome!
and thanks for sharing.
this is the same solution used in the default template.

Offline TSG

  • Moderator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: Live template - insecure content warning
« Reply #2 on: May 15, 2011, 03:51:52 AM »
I would just use https://, or the local copy.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: Live template - insecure content warning
« Reply #3 on: May 24, 2011, 04:04:21 PM »
https is slower
local copy is slower and takes bandwidth

Offline MelkiyProd.

  • Occasional poster
  • *
  • Posts: 69
  • Languages: English, Русский, Українська.
    • View Profile
Re: Live template - insecure content warning
« Reply #4 on: March 30, 2012, 02:03:49 PM »
I would just use https://, or the local copy.

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