This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

SSL Support
#10

You'll need to change the cmtx_current_page() function as well (directly below it). I don't know exactly why but the code which checks if your URL is using https doesn't seem to work on your site.

In the cmtx_current_page() function replace this line:

PHP Code:
<?php 
'http' . ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') ? 's' : '') . '://'

With this:

PHP Code:
<?php 
'https://'

For the Google API links which are in /upload/includes/template/head.php, you could use a relative protocol so for example instead of:

PHP Code:
<?php 
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>

It would be this:

PHP Code:
<?php 
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>

Have you completed the interview?
Reply


Messages In This Thread
SSL Support - by ace_case - 26-Nov-2014, 09:48 PM
RE: SSL Support - by Steven - 27-Nov-2014, 03:19 PM
RE: SSL Support - by ace_case - 30-Nov-2014, 03:57 AM
RE: SSL Support - by Steven - 30-Nov-2014, 02:07 PM
RE: SSL Support - by ace_case - 30-Nov-2014, 03:30 PM
RE: SSL Support - by Steven - 30-Nov-2014, 06:47 PM
RE: SSL Support - by ace_case - 19-Jan-2015, 05:58 PM
RE: SSL Support - by Steven - 19-Jan-2015, 10:18 PM
RE: SSL Support - by Steven - 19-Jan-2015, 10:23 PM
RE: SSL Support - by Steven - 19-Jan-2015, 10:46 PM
RE: SSL Support - by ace_case - 20-Feb-2015, 10:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)