Support » Plugin: LeagueManager » [Plugin: LeagueManager] HOW to Drag and Drop the team ranking on championship

Viewing 3 replies - 1 through 3 (of 3 total)
  • What worked for me is the method of Shawnkltucker.

    Open admin.php and find: loadScripts()
    You should see something like this:

    function loadScripts()
    	{
    		wp_register_script( 'leaguemanager_ajax', LEAGUEMANAGER_URL.'/admin/js/ajax.js', array('sack'), LEAGUEMANAGER_VERSION );
    		wp_enqueue_script('leaguemanager_ajax');
    		?>

    Add wp_enqueue_script(“scriptaculous-dragdrop”); to it, like this:

    function loadScripts()
    	{
    		wp_enqueue_script("scriptaculous-dragdrop");
    		wp_register_script( 'leaguemanager_ajax', LEAGUEMANAGER_URL.'/admin/js/ajax.js', array('sack'), LEAGUEMANAGER_VERSION );
    		wp_enqueue_script('leaguemanager_ajax');
    		?>

    Next open standings.php and search for <tbody id=, change the line to just this:
    <tbody id="the-list-standings" class="form-table">

    It’s working in Chrome and Firefox for me, I didn’t test it with IE.

    I seriously love you right now.

    Not only did this fix the drag/drop issue, but I was having an issue where Ajax was causing the teams scores not to save therefore the team rankings weren’t registering. This fix has also sorted that issue.

    I’ve been trying a while to figure this out!!

    Thank you!

    It is working with default mode, but not with championship mode, any idea?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: LeagueManager] HOW to Drag and Drop the team ranking on championship’ is closed to new replies.