mod_joomleague_ranking sort

tomaerts
.
Posts: 45
Joined: Thu Jun 28, 2007 2:51 pm
Location: Tegelen

mod_joomleague_ranking sort

Postby tomaerts » Mon Jul 23, 2007 2:59 pm

Does anybody know how to sort the ranking module alphabatically??

I hope someone can help me?

tomaerts
.
Posts: 45
Joined: Thu Jun 28, 2007 2:51 pm
Location: Tegelen

Re: mod_joomleague_ranking sort

Postby tomaerts » Tue Jul 24, 2007 7:22 am

my ranking module in the website displays 5 teams. I would like to order the 5 teams alphabatically. At the moment there arent any matches played, so i want the team that starts with an a at the top. Does anybody know how i can do this?

@ Tony
Are there any new features in the new ranking system?

mikera
.
Posts: 28
Joined: Sun Jul 01, 2007 4:44 pm
Contact:

Re: mod_joomleague_ranking sort

Postby mikera » Tue Jul 24, 2007 2:37 pm

I am using the "games back" mod written by julien (FANTASTIC!).  Is there any way to calculate the rankings by the following criteria in order?

1. Games Back (this is done - see the "basketball hack" thread)
2. 1st tiebreaker: most head-to-head wins
3. 2nd tiebreaker: fewest total runs allowed
4. 3rd tiebreaker: record against higher-ranked teams

Can any of those tiebreakers be accounted for using JoomLeague?

tomaerts
.
Posts: 45
Joined: Thu Jun 28, 2007 2:51 pm
Location: Tegelen

Re: mod_joomleague_ranking sort

Postby tomaerts » Tue Jul 24, 2007 7:38 pm

@ Tony.

Thanks for youre help, it works great.  :biggrin:

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mod_joomleague_ranking sort

Postby julienV » Thu Jul 26, 2007 5:11 pm

mikera wrote:I am using the "games back" mod written by julien (FANTASTIC!).  Is there any way to calculate the rankings by the following criteria in order?

1. Games Back (this is done - see the "basketball hack" thread)
2. 1st tiebreaker: most head-to-head wins
3. 2nd tiebreaker: fewest total runs allowed
4. 3rd tiebreaker: record against higher-ranked teams

Can any of those tiebreakers be accounted for using JoomLeague?


2. do you mean just between the 2 teams being compared, or the global number of win (against all team of league) ? latest is easy, but the former is more difficult to do..
3. probably add

Code: Select all

if($i==0) $i=-($a->sum_matchpart1_result - $b->sum_matchpart2_result);

4. difficult...
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

mikera
.
Posts: 28
Joined: Sun Jul 01, 2007 4:44 pm
Contact:

Re: mod_joomleague_ranking sort

Postby mikera » Thu Jul 26, 2007 5:47 pm

2. Yes, the two teams being compared.  The tie-breaker is their record against each other and who has the most wins.  If they have the same number of wins vs each other then it drops to the next tie-breaker (least runs allowed overall), etc.

3. Thanks!

4. Hopefully we won't need to get that far!

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mod_joomleague_ranking sort

Postby julienV » Fri Jul 27, 2007 10:46 am

ok, this might work:

in rankingobject class
after

Code: Select all

  var $rank;
  var $diff_rank;

put

Code: Select all

  var $headtohead; /* special request... */


replace function compare with

Code: Select all

  function compare($a, $b){  
    $i= -($a->winPct() - $b->winPct()); //compare winning percentage
    if($i==0) $i=-( ($a->cnt_won - $b->cnt_won) + ($b->cnt_lost - $a->cnt_lost) ); //first tiebreaker GB       
    if($i==0 and array_key_exists($b->team->name,$a->headtohead) ) //second tiebreaker on head to head
    {
      $i = -( $a->headtohead[$b->team->name] );
    }
    if($i==0) $i=-($a->sum_matchpart2_result - $b->sum_matchpart1_result);
    return ($i >= 0 ? 1 : -1);
  }
}


and in ranking.class.php
replace funtionc collect with

Code: Select all

  function collect(& $joomleague_ro, $e1, $e2, $team1, $team2, $t=0, $home_away, $r){
   
    $joomleague_ro->cnt_matches++;
   
    switch($t){
      case 1: $arr = explode(",",$this->project->points_after_add_time);break;
      case 2: $arr = explode(",",$this->project->points_after_penalty);break;
      default: $arr = explode(",",$this->project->points_after_regular_time);break;
    }
   
    $int_s = $arr[0];
    $int_u = $arr[1];
    $int_n = $arr[2];
   
    if($e1 > $e2){
      $joomleague_ro->cnt_won++;
      $joomleague_ro->sum_points = $joomleague_ro->sum_points + $int_s;
      //added for neg points 2007/03/05 Langer
        $joomleague_ro->neg_points = $joomleague_ro->neg_points + $int_n;
      //added for neg points 2007/03/05 Langer ends
      if($home_away == "home"){
        $joomleague_ro->stats["cnt_won_home"]++;
       
        $stats = $joomleague_ro->stats["won_highest_home"];
       
        if($e1 - $e2 > $stats["e1"] - $stats["e2"]){
          $stats["team1"] = $team1;
          $stats["team2"] = $team2;
          $stats["e1"] = $e1;
          $stats["e2"] = $e2;
          $stats["round"] = $r;
        }
       
        $joomleague_ro->stats["won_highest_home"] = $stats;
        $joomleague_ro->headtohead[$team2]++; /* win against $team2 */       
      }
      if($home_away == "away"){
        $joomleague_ro->stats["cnt_won_away"]++;
       
        $stats = $joomleague_ro->stats["won_highest_away"];
       
        if($e1 - $e2 > $stats["e1"] - $stats["e2"]){
          $stats["team1"] = $team1;
          $stats["team2"] = $team2;
          $stats["e1"] = $e1;
          $stats["e2"] = $e2;
          $stats["round"] = $r;
        }
       
        $joomleague_ro->stats["won_highest_away"] = $stats;
        $joomleague_ro->headtohead[$team1]++; /* win against $team1 */
      }
    }
    else if($e1 == $e2){
      $joomleague_ro->cnt_draw++;
      $joomleague_ro->sum_points = $joomleague_ro->sum_points + $int_u;
      // neu Langer
      $joomleague_ro->neg_points = $joomleague_ro->neg_points + $int_u;
     
      if($home_away == "home") $joomleague_ro->stats["cnt_draw_home"]++;
      if($home_away == "away") $joomleague_ro->stats["cnt_draw_away"]++;
    }
    else if($e1 < $e2){
      $joomleague_ro->cnt_lost++;
      $joomleague_ro->sum_points = $joomleague_ro->sum_points + $int_n;
     
      $joomleague_ro->neg_points = $joomleague_ro->neg_points + $int_s;
     
      if($home_away == "home"){
        $joomleague_ro->stats["cnt_lost_home"]++;
       
        $stats = $joomleague_ro->stats["lost_highest_home"];
       
        if($e2 - $e1 > $stats["e2"] - $stats["e1"]){
          $stats["team1"] = $team1;
          $stats["team2"] = $team2;
          $stats["e1"] = $e1;
          $stats["e2"] = $e2;
          $stats["round"] = $r;
        }
       
        $joomleague_ro->stats["lost_highest_home"] = $stats;
       
        if ( array_key_exists($team2, $joomleague_ro->headtohead) )
          $joomleague_ro->headtohead[$team2]--;
        else
         $joomleague_ro->headtohead[$team2]=-1;
      }
      if($home_away == "away"){
        $joomleague_ro->stats["cnt_lost_away"]++;
       
        $stats = $joomleague_ro->stats["lost_highest_away"];
       
        if($e2 - $e1 > $stats["e2"] - $stats["e1"]){
          $stats["team1"] = $team1;
          $stats["team2"] = $team2;
          $stats["e1"] = $e1;
          $stats["e2"] = $e2;
          $stats["round"] = $r;
        }
       
        $joomleague_ro->stats["lost_highest_away"] = $stats;
        if ( array_key_exists($team1, $joomleague_ro->headtohead) )
          $joomleague_ro->headtohead[$team1]--;
        else
         $joomleague_ro->headtohead[$team1]=-1;
      }
    }
    $joomleague_ro->sum_matchpart1_result = $joomleague_ro->sum_matchpart1_result + $e1;
    $joomleague_ro->sum_matchpart2_result = $joomleague_ro->sum_matchpart2_result + $e2;  
    $joomleague_ro->diff_matchpart_results= $joomleague_ro->sum_matchpart1_result - $joomleague_ro->sum_matchpart2_result;
  }


can't really test, you might have to change a + to a - somewhere ;)
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

mikera
.
Posts: 28
Joined: Sun Jul 01, 2007 4:44 pm
Contact:

Re: mod_joomleague_ranking sort

Postby mikera » Sat Jul 28, 2007 1:50 pm

All I can say is WOW!  It works great, I just needed to add another } at the end of ranking.class.  :cool:

I can't thank you enough for all the help you've given me with this and the other mods.  JoomLeague is on my site to stay thanks to you and all the developers who put their time and effort into it.  I will definitely be making a donation to the project and will try to contribute my help in any way that I can to pay back the community.

Mike

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mod_joomleague_ranking sort

Postby julienV » Sat Jul 28, 2007 11:05 pm

i'm not part of the project, but i'm glad to help ;)

anyway, as i read it somewhere, they just need a few more bucks to buy the license from the original designer and make it GPL. And GPL is good for the people like me that wouldn't want their work to be used if ot would become commercial at some point, so it's good that you are willing to give some money.
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

achilleas
Newbie
Posts: 14
Joined: Fri Jul 27, 2007 9:40 pm

Re: mod_joomleague_ranking sort

Postby achilleas » Mon Jul 30, 2007 3:34 am

Can someone fix these errors???

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in XXX\com_joomleague\classes\Ranking.class.php on line 390

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in XXX\com_joomleague\classes\Ranking.class.php on line 371

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mod_joomleague_ranking sort

Postby julienV » Mon Jul 30, 2007 8:02 am

in RankingObject.class.php
after

Code: Select all

$this->rank = 0;

put

Code: Select all

    $this->headtohead = array();


and tell me if it works...
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

achilleas
Newbie
Posts: 14
Joined: Fri Jul 27, 2007 9:40 pm

Re: mod_joomleague_ranking sort

Postby achilleas » Mon Jul 30, 2007 4:35 pm

oh yes! It worked!!! Thank you so much...

The problem is that I dont understand how the ranking works if 2 or more teams are with same points.
I dont understand this Games Back thing.

So is there a way to choose the criteria in ordering?

For example, here in Greece, the goal diff counts only in the first days, where the 2 tied teams havent played together yet. Then the game between them counts. And if (after the 2 games with each team as home) they have the same points in their inbetween games, counts the diff goals in these games.
TeamA - TeamB: 1-0
TeamB - TeamA: 2-0
TeamB is up, teamB is down.


Lets say we have 3 teams A,B,C all 3 with same points.
Results:
A - B: 3-0
A - C: 1-0
B - A: 1-1
B - C: 2-0
C - A: 2-2
C - B: 1-0

So the rankin is like this 3 teams played a league just the 3 of them. The talbe of this leage is:
A 8 pt 7-3 (goals)
B 4 pt 3-5 (B is 2nd because B won with 2-0 and C won with 1-0 in their between matches)
C 4 pt 3-5

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mod_joomleague_ranking sort

Postby julienV » Mon Jul 30, 2007 5:28 pm

the GB was for the basketball mode, that's why ;)

in your case, is the goal diff between the 2 teams ALWAYS looked before the global goal diff ? Or, do you first look the global goal diff ?
e.g, what happens if in your exemple the first game is A - B: 5-0

A 8 pt 9-3 (goals)
B 4 pt 3-7
C 4 pt 3-5

or
A 8 pt 9-3 (goals)
C 4 pt 3-5
B 4 pt 3-7
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

achilleas
Newbie
Posts: 14
Joined: Fri Jul 27, 2007 9:40 pm

Re: mod_joomleague_ranking sort

Postby achilleas » Mon Jul 30, 2007 6:03 pm

the first one
A 8 pt 9-3 (goals)
B 4 pt 3-7
C 4 pt 3-5

it's something like a "small league" between the teams with same points. The rankin must calculate the points in that "league"
If in that "league" we have a tie-break (same points, same diff) then I think the most goals counts, but in that case here in Greece, we have a play-off between these 2 teams (or 3 or 4 etc)

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mod_joomleague_ranking sort

Postby julienV » Tue Jul 31, 2007 7:58 am

ok, then for you:

in rankingobject class
after

Code: Select all

  var $rank;
  var $diff_rank;

put

Code: Select all

  var $headtohead; /* special request... */


replace function compare with

Code: Select all

  function compare($a, $b){  
     $i=0;
    /* each of the following line is a criteria, chose and uncomment the one you
    want in the correct order to change the sorting */
    //if($i==0) $i=-($a->sum_points - $b->sum_points); //primary points
    //if($i==0) $i=-($a->diff_matchpart_results - $b->diff_matchpart_results); //goal difference
    //if($i==0) $i=-($a->sum_matchpart1_result - $b->sum_matchpart2_result); //goals scored
    //if($i==0) $i=-($a->sum_matchpart2_result - $b->sum_matchpart1_result); //goals takem
    //if($i==0) $i=-( ($a->cnt_won - $b->cnt_won) + ($b->cnt_lost - $a->cnt_lost) ); //GB  (us sports)     
    //if($i==0) $i= -($a->winPct() - $b->winPct()); // winning percentage
    //if($i==0 and array_key_exists($b->team->name,$a->headtohead) ) $i = -( $a->headtohead[$b->team->name] );//diff goal on head to head

    if($i==0) $i=-($a->sum_points - $b->sum_points); //primary points 
    if($i==0 and array_key_exists($b->team->name,$a->headtohead) ) $i = -( $a->headtohead[$b->team->name] );//diff goal on head to head
    if($i==0) $i=-($a->diff_matchpart_results - $b->diff_matchpart_results); //goal difference
    return ($i >= 0 ? 1 : -1);
  }


and in ranking.class.php
in function collect, after

Code: Select all

$joomleague_ro->diff_matchpart_results= $joomleague_ro->sum_matchpart1_result - $joomleague_ro->sum_matchpart2_result;

put

Code: Select all

if($home_away == "home")
{
      if ( array_key_exists($team1, $joomleague_ro->headtohead) )
        $joomleague_ro->headtohead[($home_away == "home"?$team2:$team1)]+=(e1-e2);
      else
        $joomleague_ro->headtohead[($home_away == "home"?$team2:$team1)]=(e1-e2);
}


should be ok, but tell me if it isn't...
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

achilleas
Newbie
Posts: 14
Joined: Fri Jul 27, 2007 9:40 pm

Re: mod_joomleague_ranking sort

Postby achilleas » Fri Aug 03, 2007 1:19 am

Nope... Dont work...
real data:
After a full season we have team A,B and C with same points and team A: goals diff: -4, B: -5 C: -7

The results between these teams:
B-A: 2-0
C-A: 1-0
A-B: 4-3
A-C: 1-2
C-B: 0-2
B-C: 1-2

so the rank (based only on these results) is:
C 9pt +1diff
B 6pt +2diff
A 3pt -3diff


The 0.86 the rank was
A
B
C
(based on diff)

In 0.90 is:
B
A
C
(based on I dont know :) )

and your hacked rank is:
A
B
C

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mod_joomleague_ranking sort

Postby julienV » Fri Aug 03, 2007 8:03 am

remove the "-" in "$i = -( $a->..." in

Code: Select all

if($i==0 and array_key_exists($b->team->name,$a->headtohead) ) $i = -( $a->headtohead[$b->team->name] );//diff goal on head to head


better ?
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

achilleas
Newbie
Posts: 14
Joined: Fri Jul 27, 2007 9:40 pm

Re: mod_joomleague_ranking sort

Postby achilleas » Fri Aug 03, 2007 12:22 pm

nope again...

I see in your code that after the IF for primary points follows a IF for diff goal on head to head

But I dont think we want that.
The first criteria for the tie is the matches between them.

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mod_joomleague_ranking sort

Postby julienV » Mon Aug 06, 2007 2:02 pm

i didn't get you wanted to compare particular wins before particular goals, that's why

in rankingobject class
after

Code: Select all

  var $rank;
  var $diff_rank;

put

Code: Select all

  var $headtohead; /* special request... */
  var $headtohead_diff; /* special request... */


after

Code: Select all

$this->rank = 0;

put

Code: Select all

$this->headtohead = array();
$this->headtohead_diff = array();


replace function compare with

Code: Select all

  function compare($a, $b){
    if($i==0) $i=-($a->sum_points - $b->sum_points); //primary points 

    if($i==0 and array_key_exists($b->team->name,$a->headtohead) ) $i = -( $a->headtohead[$b->team->name] );//diff on head to head

    if($i==0 and array_key_exists($b->team->name,$a->headtohead_diff) ) $i = -( $a->headtohead_diff[$b->team->name] );//diff on head to head goal diff

    if($i==0) $i=-($a->diff_matchpart_results - $b->diff_matchpart_results); //goal difference
   
    return ($i >= 0 ? 1 : -1);
  }


and in ranking.class.php
replace funtionc collect with

Code: Select all

  function collect(& $joomleague_ro, $e1, $e2, $team1, $team2, $t=0, $home_away, $r){
   
    $joomleague_ro->cnt_matches++;
   
    switch($t){
      case 1: $arr = explode(",",$this->project->points_after_add_time);break;
      case 2: $arr = explode(",",$this->project->points_after_penalty);break;
      default: $arr = explode(",",$this->project->points_after_regular_time);break;
    }
   
    $int_s = $arr[0];
    $int_u = $arr[1];
    $int_n = $arr[2];
   
    if($e1 > $e2){
      $joomleague_ro->cnt_won++;
      $joomleague_ro->sum_points = $joomleague_ro->sum_points + $int_s;
      //added for neg points 2007/03/05 Langer
        $joomleague_ro->neg_points = $joomleague_ro->neg_points + $int_n;
      //added for neg points 2007/03/05 Langer ends
      if($home_away == "home"){
        $joomleague_ro->stats["cnt_won_home"]++;
       
        $stats = $joomleague_ro->stats["won_highest_home"];
       
        if($e1 - $e2 > $stats["e1"] - $stats["e2"]){
          $stats["team1"] = $team1;
          $stats["team2"] = $team2;
          $stats["e1"] = $e1;
          $stats["e2"] = $e2;
          $stats["round"] = $r;
        }
       
        $joomleague_ro->stats["won_highest_home"] = $stats;
        $joomleague_ro->headtohead[$team2]++; /* win against $team2 */       
      }
      if($home_away == "away"){
        $joomleague_ro->stats["cnt_won_away"]++;
       
        $stats = $joomleague_ro->stats["won_highest_away"];
       
        if($e1 - $e2 > $stats["e1"] - $stats["e2"]){
          $stats["team1"] = $team1;
          $stats["team2"] = $team2;
          $stats["e1"] = $e1;
          $stats["e2"] = $e2;
          $stats["round"] = $r;
        }
       
        $joomleague_ro->stats["won_highest_away"] = $stats;
        $joomleague_ro->headtohead[$team1]++; /* win against $team1 */
      }
    }
    else if($e1 == $e2){
      $joomleague_ro->cnt_draw++;
      $joomleague_ro->sum_points = $joomleague_ro->sum_points + $int_u;
      // neu Langer
      $joomleague_ro->neg_points = $joomleague_ro->neg_points + $int_u;
     
      if($home_away == "home") $joomleague_ro->stats["cnt_draw_home"]++;
      if($home_away == "away") $joomleague_ro->stats["cnt_draw_away"]++;
    }
    else if($e1 < $e2){
      $joomleague_ro->cnt_lost++;
      $joomleague_ro->sum_points = $joomleague_ro->sum_points + $int_n;
     
      $joomleague_ro->neg_points = $joomleague_ro->neg_points + $int_s;
     
      if($home_away == "home"){
        $joomleague_ro->stats["cnt_lost_home"]++;
       
        $stats = $joomleague_ro->stats["lost_highest_home"];
       
        if($e2 - $e1 > $stats["e2"] - $stats["e1"]){
          $stats["team1"] = $team1;
          $stats["team2"] = $team2;
          $stats["e1"] = $e1;
          $stats["e2"] = $e2;
          $stats["round"] = $r;
        }
       
        $joomleague_ro->stats["lost_highest_home"] = $stats;
       
        if ( array_key_exists($team2, $joomleague_ro->headtohead) )
          $joomleague_ro->headtohead[$team2]--;
        else
         $joomleague_ro->headtohead[$team2]=-1;
      }
      if($home_away == "away"){
        $joomleague_ro->stats["cnt_lost_away"]++;
       
        $stats = $joomleague_ro->stats["lost_highest_away"];
       
        if($e2 - $e1 > $stats["e2"] - $stats["e1"]){
          $stats["team1"] = $team1;
          $stats["team2"] = $team2;
          $stats["e1"] = $e1;
          $stats["e2"] = $e2;
          $stats["round"] = $r;
        }
       
        $joomleague_ro->stats["lost_highest_away"] = $stats;
        if ( array_key_exists($team1, $joomleague_ro->headtohead) )
          $joomleague_ro->headtohead[$team1]--;
        else
         $joomleague_ro->headtohead[$team1]=-1;
      }
    }
    $joomleague_ro->sum_matchpart1_result = $joomleague_ro->sum_matchpart1_result + $e1;
    $joomleague_ro->sum_matchpart2_result = $joomleague_ro->sum_matchpart2_result + $e2;  
    $joomleague_ro->diff_matchpart_results= $joomleague_ro->sum_matchpart1_result - $joomleague_ro->sum_matchpart2_result;

 /* particular goal diff */
  if($home_away == "home")
  {
      if ( array_key_exists($team2, $joomleague_ro->headtohead_diff) )
        $joomleague_ro->headtohead_diff[$team2]+=(e1-e2);
  }
  else
  {
      if ( array_key_exists($team1, $joomleague_ro->headtohead_diff) )
        $joomleague_ro->headtohead_diff[$team1]+=(e1-e2);
  }
}


again, can't test, and i switched on 0.90 ;).., no guarantee !
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mod_joomleague_ranking sort

Postby julienV » Wed Aug 08, 2007 10:24 am

You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

tomaerts
.
Posts: 45
Joined: Thu Jun 28, 2007 2:51 pm
Location: Tegelen

Re: mod_joomleague_ranking sort

Postby tomaerts » Wed Nov 07, 2007 4:33 pm

In version 0.90

I've got 2 teams with the same points, the same difference in goals. Now I would like to sort the teams on goals. At the moment they are sorted on alpha. Can anybody help me.
I rather don't want to upgrade too 0.91 because off too many modifications, i will do this after this season.


Return to “mod_joomleague_ranking”

Who is online

Users browsing this forum: No registered users and 2 guests

cron