Matchreport time / Zeit im Spielbericht

Status: Finished
Branch: https://gitlab.com/joomleague/joomleague/tree/1.6.0

Moderator: And_One

vikingX
.
Posts: 28
Joined: Wed Jun 20, 2012 6:56 pm

Matchreport time / Zeit im Spielbericht

Postby vikingX » Tue Dec 04, 2012 11:01 pm

Hope somebody can help me with this issue: It seems like the matchreport is not able to distinguish between minutes and seconds. If I save for example two new events as follows:

00:00
Team XY Player XY Scores 02:35 (time)
Team XY Player XY 2-Min Penalty 02:58 (time)
60:00

then the matchreport will list both events in minute two (what is right) but then not the seconds make the difference but the order of the events in the database. If the event "scores" has the higher ID than "2-Min Penalty", the two events are listed in the matchreport the wrong way arround:

00:00
Team XY Player XY 2-Min Penalty 02:58 (time)
Team XY Player XY Scores 02:35 (time)
60:00

is there a solution?
---------------------------------------------------------------------------------------
Oder für diejenigen, die des deutschen mächtig sind: Es scheint als ob der Matchreport nicht zwischen Sekunden unterscheiden kann, ist das korrekt oder mach ich was falsch? Hab ich zwei Events eingetragen, die in der selben Spielminute liegen, so werden sie nach der Reihenfolge der ID der verfügbaren Events aufgelistet und nicht nach der Zeit. Kann man das irgendwie verhindern?

edgarszahl
Newbie
Posts: 3
Joined: Tue Oct 01, 2013 10:00 am

Re: Matchreport time / Zeit im Spielbericht

Postby edgarszahl » Tue Oct 08, 2013 8:33 pm

Hi, I suppose system is not designed to take seconds in account...

In my project I used this workaround, I entered a time like number foe example 17.23, and replaced line 43 in /www/components/com_joomleague/views/matchreport/tmpl/default_events_ticker.php with this code:

echo str_replace(".", ":", '<td class="tcenter">' . $prefix . '</td>');


Return to “1.6.0-nathalie (Joomla: 1.5.x) - not supported”

Who is online

Users browsing this forum: No registered users and 2 guests

cron