Partizan wrote:
Is it possible to add force HTTPS mode
Thanks ARI for the great module.
I'm sure there is a better way I could have done this.
The browser was whining about non secure items on the page.
It wasn't so noticeable in Firefox but Google Chrome had a nice RED https which caused me to look into the issue.
I looked at the page source and the ajax.googleapis was in http instead of https.
I grep't the Joomla Directory and found the api in 2 places.
in the following directory
modules/mod_ariimageslider/mod_ariimageslider/kernel/ImageSlider
there is file called class.ImageSlider.php
In line 41 I changed
Code: |
$doc->addScript('http://ajax.googleapis.com/ajax/libs/jquery/' . $jQueryVer . '/jquery.min.js');
|
to
Code: |
$doc->addScript('https://ajax.googleapis.com/ajax/libs/jquery/' . $jQueryVer . '/jquery.min.js');
|
I simply added an s to the http.
I am no programmer and I'm not sure I wasn't getting the error for other reasons but this did stop the browser from whining about non secure items on the page and chrome has the soothing green https now