• Resolved jbarker147

    (@jbarker147)


    Hi guys,
    Is there a way to change the order of league tables on the ‘Team’ pages – to show the latest league table first, followed by last year, then the year before, etc.
    Currently it shows the earliest league table first, but I can’t find anywhere to change it.
    Thanks in advance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • do you have discord?

    Thread Starter jbarker147

    (@jbarker147)

    No I don’t. What is it?

    No need for another plugin.
    Each league table has an “order” associated with it. The lower the number, the closer to the top the table will be.
    If you have tables 2015, 2016 and 2017. If you give 2017 an order of 0; 2016 an order of 5; and 2015 an order of 10 – tables will show up in this order 2017, 2016, 2015

    Roch

    (@rochesterj)

    @gator8 to the rescue again ??

    Thanks!

    Kind Regards,
    -Roch

    Thread Starter jbarker147

    (@jbarker147)

    Thanks very much, that works great for the league tables!

    Unfortunately, it doesn’t look like I can do the same thing for player statistics. For example, I have played for the past 3 years, so I have stats for 2017, 2016, and 2015. By default, 2015 is showing first, but I want it to be the other way around. Any suggestions?

    Roch

    (@rochesterj)

    Hi!

    In this case you’ll need a bit of custom code in your player profile page. This can be done with a custom loop.

    Thanks!

    Kind Regards,
    -Roch

    Sure you can. Same theory applies.
    Modify the slug for each season. The lower the number, the closer to the top it will be.

    Roch

    (@rochesterj)

    Thanks @gator8

    Didn’t know that ??

    Kind Regards,
    -Roch

    Thread Starter jbarker147

    (@jbarker147)

    That’s done the trick! Thank you @gator8

    Roch

    (@rochesterj)

    I’m glad it’s resolved!

    Please, let us know if you need anything else.

    Kind Regards,
    -Roch

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Team League Tables’ is closed to new replies.