I'm afraid I can't get anything to show up on a node or in a block, because of this line in the HTML:

<script type="text/javascript" src="//home/[account]/d6/sites/[site]/files/sexybookmarks/jquery.shareaholic-publishers-sb.min.js?P"></script>

That's an invalid URL and as a result the script isn't loading. When I modify sexybookmarks.module and change this:

drupal_add_js(sexybookmarks_get_file('http://www.shareaholic.com/media/js/jquery.shareaholic-publishers-sb.min.js'));

to this:

drupal_add_js(sexybookmarks_get_file('sites/all/libraries/jquery.shareaholic-publishers-sb.min.js'));

and grab that script from shareaholic.com and save it to that directory, the links show up (although they're links and not icons).

Comments

mrtoner’s picture

Title: Wrong JS location » Wrong directory locations
Priority: Normal » Major

Further to this, as noted in #1224520: Can't configure sexybookmarks - icons repeating in admin screen, an invalid URL is being provided for sprite.css:

<link type="text/css" rel="stylesheet" media="all" href="//home/[account]/d6/sites/[site]/files/sexybookmarks/e3f9c0a9f59db5bcebedca23e3d245d5/sprite.css?F">

I've confirmed by modifying sexybookmarks_profiles.inc that when the stylesheet can be loaded the edit profile page shows the icons correctly.

mrtoner’s picture

And to round out this trifecta, an invalid URL is being provided for sprite.png:

ul.shr-socials li.shareaholic{background-image:url(//home/[account]/d6/sites/[site]/files/sexybookmarks/aac8a584c753dac71865e338e6e3fe1e/sprite.png) !important;}

As noted in #1586406: No icons shown, this causes the icons to not appear in a block or on the node. I've confirmed by changing the background-image location in the web inspector that when the image loads it's displayed properly.

shareaholic’s picture

Version: 6.x-2.x-dev »
Issue summary: View changes
Status: Active » Closed (fixed)

SexyBookmarks is no longer being actively maintained. It was a port of Shareaholic for WordPress, and Shareaholic has since released an official Drupal module.

Recommended next step:

You should migrate to the official Shareaholic for Drupal module, which has updated buttons, styles, services, 100% mobile-ready and much more! - http://drupal.org/project/shareaholic

You can learn more here: https://blog.shareaholic.com/drupal-module/