Gesamtspielzeit ohne Bild

Moderators: And_One, Heart

User avatar
Wishmaster
.
Posts: 24
Joined: Tue Sep 25, 2007 4:43 pm
Joomleague version: 2.0.x
Contact:

Gesamtspielzeit ohne Bild

Postby Wishmaster » Mon Aug 24, 2015 6:06 pm

Hallo,

ich hoffe es kann mir jemand von euch weiterhelfen. Das wäre jedenfalls sehr freundlich. :)

In meiner Kaderübersicht wird leider kein Icon für die "Gesamtspielzeit" angezeigt: http://fk-clausen.de/index.php?option=c ... Itemid=118

Das Icon ist auf dem Server vorhanden, wenn ich die Seite mit Firebug untersuche, sehe ich, dass gar kein SRC bei dem Bild hinterlegt ist!?

Hat jemand eine Idee, was ich machen muss, damit das Bild und nicht der alternative Text angezeigt wird?

Vielen Dank im Voraus!

User avatar
Bluefox
.
Posts: 312
Joined: Tue Aug 27, 2013 11:26 am
Joomleague version: 2.0.x
Location: Friesland, Netherlands
Contact:

Re: Gesamtspielzeit ohne Bild

Postby Bluefox » Mon Aug 24, 2015 6:50 pm

@Wishmaster
As my German is not that good I'll try to respond in English.

The problem is with the file:
components/com_joomleague/views/roster/tmpl/default_players.php


In there is a block like

Code: Select all

<th class="td_c"><?php
$imageTitle = JText::_ ( 'COM_JOOMLEAGUE_ROSTER_TOTAL_TIME_PLAYED' );
echo JHtml::image ( 'images/com_joomleague/database/events/' . $this->project->fs_sport_type_name . '/playtime.gif', $imageTitle, array ('title' => $imageTitle,'height' => 20) );
?></th>


I'm not sure why it doens't display the icon but you can try to change it to the code below and see what happens

Code: Select all

<th class="td_c"><?php
$imageTitle = JText::_ ( 'COM_JOOMLEAGUE_ROSTER_TOTAL_TIME_PLAYED' );
echo JHtml::image ( 'images/com_joomleague/database/events/soccer/playtime.gif', $imageTitle, array ('title' => $imageTitle,'height' => 20) );
?></th>


- Did you maybe modify the file or do you have template overrides?


Did also see that these links were in the page

Code: Select all

<th class="td_c"><img src="/images/com_joomleague/database/events//played.png" alt="Gespielt" title="Gespielt" height="20" /></th>
               <th class="td_c"><img src="/images/com_joomleague/database/events//startroster.png" alt="Startaufstellung" title="Startaufstellung" height="20" /></th>
      <th class="td_c"><img src="/images/com_joomleague/database/events//in.png" alt="eingewechselt" title="eingewechselt" height="20" /></th>
      <th class="td_c"><img src="/images/com_joomleague/database/events//out.png" alt="ausgewechselt" title="ausgewechselt" height="20" /></th>

The // appears as the "sportstype" is not been recognized correctly.
Did you enter the sportstype in the backend in the format "COM_JOOMLEAGUE_ST_SOCCER" or something else?

did notice that the links for red-card/yellow-card etc are correct so it's kind of weird.
Help can be asked in the forum

User avatar
Wishmaster
.
Posts: 24
Joined: Tue Sep 25, 2007 4:43 pm
Joomleague version: 2.0.x
Contact:

Re: Gesamtspielzeit ohne Bild

Postby Wishmaster » Mon Aug 24, 2015 11:14 pm

Hi Bluefox,

sorry, the name of the sub forum is "de-DE" so I thought German is the "official" language here. ;)

Thank you a lot for your answer.
In deed I have two sport types in my configuration:
Image

After I changed it from one "Fussball" to the other "Fussball" in my project configuration I can see the icon for "gesamtspielzeit" in my roster overview.

Thank you very much!

User avatar
Bluefox
.
Posts: 312
Joined: Tue Aug 27, 2013 11:26 am
Joomleague version: 2.0.x
Location: Friesland, Netherlands
Contact:

Re: Gesamtspielzeit ohne Bild

Postby Bluefox » Tue Aug 25, 2015 6:41 am

good to hear that it's resolved.

sorry, the name of the sub forum is "de-DE" so I thought German is the "official" language here
:) that language is indeed preferred in this sub category so you were correct.
Help can be asked in the forum


Return to “de-DE”

Who is online

Users browsing this forum: No registered users and 2 guests

cron