Theme Joomla Plugins

Drag & Drop with Community Builder

Drag & Drop Admin has been a long waiting plugin for me :) How ever it does not work in Community Builder for me, ver. 1.2.2 The plugin does function correctly but when I try to save the positions, they just revert back to the same positions they were in before... I hope this has been resolved already, if it has can someone point me in the right direction...? Any help would be greatly appreciated.

Lumo replied Conflicts and Exclusions

Seems most things seem to conflict with community builder ;) we are working on a fix, but have included an exclusion list in the latest build for now so that you can exclude conflicting extensions to avoid site admin stalls...

skashi replied Community Builder Patch

Community Builder has hard-coded its Javascript declarations so it is impossible to manipulate it through code.

There is a patch for this nonetheless. Just open up:
[site]/administrator/components/com_comprofiler/admin.comprofiler.html.php

And add the following code just after line 27 inside the function so that it looks like this:

function cbsaveorder( n ) { 
  jQuery("table.adminlist thead th a").each(function(index) { 
    var str= $(this).href; 
    var patt=/[removed]cbsaveorder/; 
    var patt2=/d+/; 
    if(patt.test(str)) { 
      n = patt2.exec(str); 
    } 
  }); 
  jQuery("table.adminlist tbody tr td input[name=order[]]").each(function(index) { 
    $(this).value = index+1; 
  }); 
cbcheckAll_button( n ); 
submitform('<?php echo addslashes( $task ); ?>'); 
}

You must be logged in to post a comment. Please register if you do not have an account yet.

busy

INSIDE: Forum / Plugins

members

search