Login



Lost Password? Create An Account
Demos

Forum Support

 
Advanced Search


[1]

Offline Dragos01
Joomla Developer 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
Moderator
Posts: 28716 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

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug

Offline skippy1
Joomla Club 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
Moderator
Posts: 23775 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

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.036 seconds with 20 queries.
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $49 for access to all of our themes.
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.