Viewing 7 replies - 1 through 7 (of 7 total)
  • The game ID changes in 0?

    Sorry, but I cannot see your ‘Journée 1″ on your website.

    Isydee

    you dont need to put the season

    [matches league_id=… template=…. match_day=1]

    Thread Starter quentinpaquot

    (@quentinpaquot)

    Sorry I had to update the page ??

    @isydee : indeed, seems like the matchday id changes from 1, 2, 3 to 0 when I edit a game.

    @ben52 : ?? If i have multiple seasons running at the same time, should be specified, isn’t it?

    Thanks

    Ok, you can solve it.

    Create a backup of admin/match.php (so if you have problems you can start again)

    Open this file with notepad
    Search this code (row 182):

    <?php if (( $cup && !$is_finals) || ($mode==”add” && !$is_finals) ) : ?>

    and remove it

    Search this code (row 167):

    <th scope=”col”><?php _e( ‘Day’, ‘leaguemanager’ ) ?></th>
    <?php endif; ?>

    and below add this code:

    <th scope=”col”><?php _e( ‘Match Day’, ‘leaguemanager’ ) ?></th>

    With Larsebald suggestions (row 182) and my changes (row 167) you should be able to change and save the match_day when editing matches.

    Thread Starter quentinpaquot

    (@quentinpaquot)

    Thanks, just tested, edit match page is now blank, with this URL at the end : admin.php?page=leaguemanager&subpage=match&league_id=3&season=1415B&group=

    Don’t indeed have any group in my settings.

    Probably you have this link admin.php?page=leaguemanager&subpage=match&league_id=3&season=1415B&group=&match_day=1

    Change &match_day=1 to &match_day=0 and you can find all your matches

    Thread Starter quentinpaquot

    (@quentinpaquot)

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Bug with Match_id’ is closed to new replies.