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. Both comments and trackbacks are currently closed.

4 Comments

  1. Posted December 5, 2011 at 9:45 am | Permalink

    язык на сайте о банках, деньгах и недвижимости mirekonomiky.ru

  2. Posted December 8, 2011 at 2:05 am | Permalink

    дипломатической миссии Соединенных Штатов на сайте mirperiodiki.ru. На нашем информационном портале Вы найдете новости спорта, туризма, медицины. Узнавайте главные новости мира с НАМИ!

  3. Posted February 6, 2012 at 8:54 am | Permalink

    Министерство внутренних дел на сайте о логистике и перевозках moya-logistika.ru.

  4. Posted April 3, 2012 at 12:46 am | Permalink

    ФК Крылья Советов Самара. Главные новости страны на информационном портале nowosti-mira.ru. С нами ты всегда вкурсе всех новостей страны!

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 [...]