Remove count of order in ranking module

mooler
.
Posts: 43
Joined: Wed Aug 15, 2007 8:37 pm
Contact:

Remove count of order in ranking module

Postby mooler » Mon Feb 25, 2008 10:58 am

Hello!

Great component! Check's in the mail ;-)

Look at www.noya.se/ifk2 in the module to the left of each team where there is a "-" sign and a "1" infront of the first team. How do I remove those items?
Have been browsing the template för the table in the components backend but can't find an option for that.

Appreciate any help!
JL 0.92
Rankingmodule 0.92

mooler
.
Posts: 43
Joined: Wed Aug 15, 2007 8:37 pm
Contact:

Re: Remove count of order in ranking module

Postby mooler » Mon Feb 25, 2008 12:09 pm

Finally found it in /modules/mod_joomleague_ranking.php  line 205 removed:

Code: Select all

 echo '<td bgcolor="'.$color.'" align="right">';
      if (($item->rank!=$temprank) || ($counter==1)) printf($format, $item->rank);
      else echo "-";


Then removed line 123 to get the letter for the pointcolumn aligned:

Code: Select all

echo '<td align="center"> </td>';


But if there is a setting for this I still like to be enlightened :-)
Last edited by mooler on Mon Feb 25, 2008 12:17 pm, edited 1 time in total.
JL 0.92
Rankingmodule 0.92

mooler
.
Posts: 43
Joined: Wed Aug 15, 2007 8:37 pm
Contact:

Re: Remove count of order in ranking module

Postby mooler » Mon Feb 25, 2008 5:04 pm

Ok thanks for the reply!

A little hack it will be then ;-)
JL 0.92
Rankingmodule 0.92


Return to “mod_joomleague_ranking”

Who is online

Users browsing this forum: No registered users and 1 guest

cron