Hi,
I have problem with integration of Sharethis widget inside the website (Contao 2.11.4/HTML5).
Although, Sharethis code is just as simple as copy-paste, for some reason, it doesn't work properly with my Contao installation. To be more precise, counters are not working. Everything is put where it is supposed to be, but for some reason, counters are not working.
This is code between <head> tags:
Code:
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "xxxxxxx", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
which I added with insert-tag {{file:xxxx.php}}
and this is code for <body> section:
Code:
<span class='st_facebook_hcount' displayText='Facebook'></span>
<span class='st_twitter_hcount' displayText='Tweet'></span>
<span class='st_googleplus_hcount' displayText='Google +'></span>
<span class='st_email_hcount' displayText='Email'></span>
<span class='st_sharethis_hcount' displayText='ShareThis'></span>
So, as you can see, nothing special. But, for some reason, counters are not working. Support on Sharethis is not so helpful by now.
Any advice?
Thanks.
Bookmarks