Taken from here: http://drupal.org/node/1897718#comment-7034390
I found, that module do not work on local install of drupal. Here the code:
<a rel="nofollow" style="display:inline-block;vertical-align:bottom;width:32px;height:32px;margin:0 6px 6px 0;padding:0;outline:none;<strong>background:url(/sites/all/libraries/share42/icons.png)</strong> -0px 0 no-repeat" href="#" data-count="fb" onclick="window.open('http://www.facebook.com/sharer.php?s=100&p[url]=http%3A%2F%2Flocalhost%2Felearn%2F&p[title]=elearn&p[summary]=&p[images][0]=', '_blank', 'scrollbars=0, resizable=1, menubar=0, left=100, top=100, width=550, height=440, toolbar=0, status=0');return false" title="Поделиться в Facebook" target="_blank"></a>
Comments
Comment #1
duozerskVladimir,
Please check that you have icons.png file present in 'sites/all/libraries/share42' directory.
And please also explain what you mean by "module do not work" - what exactly you expect and what is not working in your opinion (except for missing icons).
Thanks
AndyB
Comment #2
vmkazakoff commentedExactly, only missing icon. All other features work normally.
PNG file is in folder, also I copy script and icons into module directory - nothing...
In code I see:
background:url(/sites/all/libraries/share42/icons.png)Is it OK, that url start same way?
Comment #3
duozerskThis is not needed, please remove these files from the module folder.
Yes, it is completely fine, all the icons are there in one single file. Please check that it is accessible from your browser. Go to http://yourlocal.domain/sites/all/libraries/share42/icons.png and see if the browser opens it or not.
Thanks
AndyB
Comment #4
giorgosksimilar problem with drupal in subdirectory
background images should be accessed using domain. com/ subdirectory/sites/all/ ...
but instead absolute path is (looking into code) /sites/all/...
Comment #5
duozerskGiorgos,
Thanks for a report, this is definitely a bug, will fix it soon.
Thanks
AndyB
Comment #6
duozerskFixed for both D6 and D7 - Added base_path() to data-path parameter; released new stables, please let me know if it fixes the issue for you or not.
Thanks
AndyB
Comment #7
vmkazakoff commentedYes, it's work to me. Thank you very much for great module and fast response about this bug.
Comment #8
giorgoskbackgrounds images work now
but still see counters (span elements with counts of likes, tweets etc)
can the actual css provided in step 6. (share42.com) be included by the module ?
otherwise maybe it should be said on the intstallation instructions that css has to be included manually
Comment #9
duozerskGiorgos,
Sure, the module already includes some CSS from there (for the panel), just not for the counters. I have separated it into another feature request: http://drupal.org/node/1913286
Looks like the service is constantly enhanced and adding more features as there were no counters previously.
Thanks
AndyB