Radio Streaming - 50% Lifetime Discount with purchase of any Joomla Web Radio Addon. Discount Code: STR15-Z
See Radio Streaming Plans

Results 1 to 2 of 2

Thread: Sorting the teams in menu ' add matches ' alphabetically ?

  1. #1
    Junior Member
    Join Date
    Nov 2016
    Posts
    8

    Sorting the teams in menu ' add matches ' alphabetically ?

    Is it possible when adding matches , the teams to be shown in alphabetical order not by id ?

  2. #2
    Administrator
    Join Date
    Jul 2015
    Posts
    65
    Hello

    you can achieve the result you want by altering the code in file <joomla directory>/administrator/components/com_multileague/views/addgames/tmpl/default.php

    around line 73 you should be able to find the following code
    Code:
    $query="SELECT id,team_name FROM `#__multileague_team` WHERE status=1";
    change it to

    Code:
    $query="SELECT id,team_name FROM `#__multileague_team` WHERE `status`=1 ORDER BY team_name";

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •