How to get rid of Draws figure

User avatar
ilias
.
Posts: 21
Joined: Fri Sep 19, 2008 1:41 pm
Location: Athens,Greece
Contact:

How to get rid of Draws figure

Postby ilias » Wed Oct 29, 2008 10:05 pm

using the next match module, having set the "Show season statistics link?" to yes.
The problem is that i use the component for volleyball and hence there is no "Draws", only wins and losses.
From the language file i have corrected so that the title of the specific line on the season statistics page says "W/L (total)" but under it, the actual line shows per team no. of wins / no. of draws / no. of losses, where no. of draws always = 0.

Can somebody help where to change in order to make this format as no. of wins / no. of losses ?

see attached print
:help:

[gelöscht durch Administrator]
Last edited by ilias on Wed Oct 29, 2008 11:40 pm, edited 1 time in total.

Tony
.
Posts: 296
Joined: Sun Apr 29, 2007 2:31 pm

Re: How to get rid of Draws figure

Postby Tony » Wed Oct 29, 2008 11:32 pm

For example in ...components/com_joomleague/frontend/default/show_next_match.tpl.php

replace

Code: Select all

<td align="center"><?php printf("%s/%s/%s",$homeRanked->cnt_won, $homeRanked->cnt_draw, $homeRanked->cnt_lost);?></td>


with

Code: Select all

<td align="center"><?php printf("%s/%s",$homeRanked->cnt_won, $homeRanked->cnt_lost);?></td>

User avatar
ilias
.
Posts: 21
Joined: Fri Sep 19, 2008 1:41 pm
Location: Athens,Greece
Contact:

Re: How to get rid of Draws figure

Postby ilias » Wed Oct 29, 2008 11:41 pm

Thanks alot Tony, really appreciate

:thx:


Return to “mod_joomleague_next_match”

Who is online

Users browsing this forum: No registered users and 2 guests

cron