Forum Support

 
Advanced Search


[1]

Offline Dragos01
Free Member
Posts: 34
Posted on: August 27, 2017, 05:42:18 AM

Hi,

If you have a SSL certificate the site isnt fully secure due to the Google Fonts wich loads over http instead of https... It says insecure and blocked content and you get a red cross. Its a global issue over all the templates.

There is an easy fix:

Find the templates index.php

Change this line:


Code:
<?php if(($s5_fonts_highlight != "Arial") && ($s5_fonts_highlight != "Helvetica") && ($s5_fonts_highlight != "Sans-Serif")) { ?>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo str_replace(" ","%20",$s5_fonts_highlight); if ($s5_fonts_highlight_style != "") { echo ":".$s5_fonts_highlight_style; } ?>" />
<?php ?>

to:

Code:
<?php if(($s5_fonts_highlight != "Arial") && ($s5_fonts_highlight != "Helvetica") && ($s5_fonts_highlight != "Sans-Serif")) { ?>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=<?php echo str_replace(" ","%20",$s5_fonts_highlight); if ($s5_fonts_highlight_style != "") { echo ":".$s5_fonts_highlight_style; } ?>" />
<?php ?>

Now your site with or without SSL is 100% secure!

Can the developers add this to all the Siteshapers?

Gr. Dragos
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: August 28, 2017, 07:24:16 AM

Hello,

All of our most recent templates, probably from the last two years, already have this fix included.
Logged

Offline skippy1
Free Member
Posts: 1
Posted on: December 28, 2017, 07:05:03 PM

Hi, I have tried this fix for the Campus Life template and it is still showing insecure content on all browsers. Any tips on how to fix thos would be appreciated.

Hi,

If you have a SSL certificate the site isnt fully secure due to the Google Fonts wich loads over http instead of https... It says insecure and blocked content and you get a red cross. Its a global issue over all the templates.

There is an easy fix:

Find the templates index.php

Change this line:


Code:
<?php if(($s5_fonts_highlight != "Arial") && ($s5_fonts_highlight != "Helvetica") && ($s5_fonts_highlight != "Sans-Serif")) { ?>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo str_replace(" ","%20",$s5_fonts_highlight); if ($s5_fonts_highlight_style != "") { echo ":".$s5_fonts_highlight_style; } ?>" />
<?php ?>

to:

Code:
<?php if(($s5_fonts_highlight != "Arial") && ($s5_fonts_highlight != "Helvetica") && ($s5_fonts_highlight != "Sans-Serif")) { ?>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=<?php echo str_replace(" ","%20",$s5_fonts_highlight); if ($s5_fonts_highlight_style != "") { echo ":".$s5_fonts_highlight_style; } ?>" />
<?php ?>

Now your site with or without SSL is 100% secure!

Can the developers add this to all the Siteshapers?

Gr. Dragos
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: December 29, 2017, 12:06:48 PM

Hello,

Please grab a fresh download of Campus Life and overwrite your index.php file or reinstall the template and this will fix it. I have just noticed the download for this wasn't updated.

Thanks,
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.015 seconds with 20 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.