Sharrre
Sharrre copied to clipboard
Counting shares without file sharrre.php
I have a little problem with Sharrre. I removed the link to the file sharrre.php , but I noticed that in my website counting shares is zero. Here is the code I have in the pages
$('.shareme').sharrre({ share : { twitter : true, facebook : true, googlePlus : true }, template : _template, enableHover : false, urlCurl: '', enableTracking : false, render : function(api, options) { $(api.element).on('click', '.twitter', function() { api.openPopup('twitter'); return false; }); $(api.element).on('click', '.facebook', function() { api.openPopup('facebook'); return false; }); $(api.element).on('click', '.googleplus', function() { api.openPopup('googlePlus'); return false; }); $(api.element).on('click', '.w-share', function() { $(this).children('.share-text').toggle(); $(this).children('.share-text').toggleClass('o-share'); return false; }); }});
Thanks for your support
I have the same problem, any ideas?
I think you only need sharrre.php for google plus and stumbleupon, what happens if you set googlePlus: false?