Hi,
After searching for what reason did the addthis image seems corrupt under chrome it seems come from this :
in template/html/com_virtuemart/productdetails/default.php
Around line 43 :
function currentPageURL() {
$curpageURL = 'http';
if ($_SERVER["HTTPS"] == "on") {$curpageURL.= "s";}
$curpageURL.= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$curpageURL.= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
} else {
$curpageURL.= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
}
return $curpageURL;
}
This is what support from addthis said :
if you are using AddThis on a https:// page you will need to make some small changes.
In the code of the widget replace:
s7.addthis.com or
s5.addthis.com
with:
s7.addthis.com/
That's it. All features will continue to work the same.
My server run https and its seems something wrong with this :
www.kubevent.fr/index.php/video/2012-11-12-14-57-57-460/barco-rlmw12-detail
If you go on my link with internet explorer you have to accept to show unsecure display
Attachment Capture_2012-12-14-2.PNG not found
Under chrome its the same it doesnt show unsecure content because of theses unsecure links :
Attachment Capture23.PNG not found
Which code did i have to modify for add httpS like addthis support advise for ?
i have just try here : in template/html/com_virtuemart/productdetails/default.php
to add this code :
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
...script.....text/j-avascript">var addthis_config = {"data_track_addressbar":true};......script end
script ........="text/j-avascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50cb9bb900379c11">
<!-- AddThis Button END -->
but it s herited from curlpage function nop ?? if i add
src="
s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50cb9bb900379c11">
it doesn't working .
thanks for all your support .
Regards