Support » Plugin: PHPLeague » cant see the date

  • Hi, I have a problem with displaying the date…
    I have a shortcode on my page [phpleague type = fixtures id = 2] and I can see the columns “Fixture”,”Match” and “Score”, but the date column is empty…
    I have set the date in Dashboard – >Fixtures and Dashboard -> Result
    Can you help me with this problem, please?

    http://wordpress.org/extend/plugins/phpleague/

Viewing 9 replies - 1 through 9 (of 9 total)
  • +1

    ??
    I don`t understand….

    +1 as in i am having the same issue.

    Ok, but can you give me any solution for that or I have to wait for new update?
    Because then I can’t use this plugin 🙁
    Thank you

    I wont be able to give you a solution as i am having the same issue.

    Maybe give the developer a chance to respond here in the forum.

    Hi, I have solved this problem by editing phpleague-front.php on the line 268,314,331
    You should replace:

    $output .= ‘<td>’.strftime(“%a %e %b, %H:%M”, strtotime($row->played)).'</td>’;

    with

    $output .= ‘<td>’.strftime(“%Y-%m-%d”, strtotime($row->played)).'</td>’;

    and then you can see the date when you use the shortcode
    [phpleague type = fixtures id = XX]

    @piedro666 – you sir, are a star

    Where is phpleague-front.php file located? I can’t seem to find it anywhere!

    Sorry – found it now in the dashboard. I was looking in the folders on the web server.

    I’ve used your edit to change the date to d-m-y and I’ve also managed to remove the fixture number column as well.

    Now all I need to work out is how to sort the table by the fixture date not the fixture number.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘cant see the date’ is closed to new replies.