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&amp;p[url]=http%3A%2F%2Flocalhost%2Felearn%2F&amp;p[title]=elearn&amp;p[summary]=&amp;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>

CommentFileSizeAuthor
1_66.png24.69 KBduozersk

Comments

duozersk’s picture

Vladimir,

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

vmkazakoff’s picture

Exactly, 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?

duozersk’s picture

also I copy script and icons into module directory - nothing

This is not needed, please remove these files from the module folder.

Is it OK, that url start same way?

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

giorgosk’s picture

similar 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/...

duozersk’s picture

Giorgos,

Thanks for a report, this is definitely a bug, will fix it soon.

Thanks
AndyB

duozersk’s picture

Category: support » bug
Status: Active » Fixed

Fixed 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

vmkazakoff’s picture

Yes, it's work to me. Thank you very much for great module and fast response about this bug.

giorgosk’s picture

backgrounds 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

duozersk’s picture

Giorgos,

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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.