Fix for broken drag and drop in Wordpress Sociable plugin

Drag and drop is broken in the Wordpress Sociable plugin which means you cannot easily reorder your bookmarking options. I have seen posts 2 weeks old asking for a fix for this and I am too impatient…so here it is.

Navigate to your sociable plugin directory and create a file called “sociable-admin.js”. Add the following code to the file:

jQuery(document).ready(function(){
  jQuery("#sociable_site_list").sortable({});
});
/* make checkbox action prettier */
function toggle_checkbox(id) {
	var checkbox = document.getElementById(id);
 
	checkbox.checked = !checkbox.checked;
	if (checkbox.checked)
		checkbox.parentNode.className = 'active';
	else
		checkbox.parentNode.className = 'inactive';
}

Save the file and reload your sociable admin panel. Drag and drop should work now.

No TweetBacks yet. (Be the first to Tweet this post)
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • MySpace
  • Slashdot
  • StumbleUpon
  • Technorati
  • TwitThis

If you enjoyed this post, make sure you subscribe to my RSS feed!

This entry was posted in Software and tagged , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Trackback

  1. [...] to Tony Amoyal, who has come up with a fix.  It turns out that a requisite Javascript file was not included in the updated [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">