Hi,

I recently played with loading content via AJAX and noticed that nodes where nicely loaded and all jQuery worked due to Drupal.behaviours yet the sexy bookmarks placeholders aren't filled with the bookmarks.

After snooping around I believe this is due to the fact that the settings are added via the theme_sexybookmarks function which in turn add the settings inline via drupal_add_js.

I think this is major because mainstream modules like views and many others like quicktabs offer AJAX loading of content which would cause sexybookmarks to fail.

I'll be checking this out ASAP but would appreciate your view and possible help on this!

Cheers

Comments

vasrush’s picture

Last week, I've tried to put a sexybookmark block in a quicktab in order to earn at least 2 sec. in page load and I failed.
Thought that I was doing something wrong but due to your post it seems I wasn't.

vasrush’s picture

I manage to make it work in a quicktab, using views integration.
Instead of adding a block to quicktabs, I just add a view using the field
Node:Sexybookmark.
To make it work you need to install ajax load module too.

The problem now is that counting is not working as it should.
I think that's because sexybookmarks are placed in example.com/node?quicktabs....
instead of just example.com.

Any thoughts?

bartezz’s picture

Hi varush,

Will try with ajax load module! The counting is indeed url specific I think so that's where you need to investigate further in the code.

Cheers

shareaholic’s picture

Issue summary: View changes

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

http://drupal.org/project/shareaholic

Please migrate to the official Shareaholic for Drupal module, which has updated buttons, styles, services, 100% mobile-ready and much more! You can learn more here: https://blog.shareaholic.com/drupal-module/

shareaholic’s picture

Version: 6.x-2.0 »
Status: Active » Closed (won't fix)