Here is a more detailed step-by-step guide:
1. Access the admin panel:
- First, log in to the admin panel of your website. This is where you manage all the site settings.
2. Find the "Sport" section:
- In the panel, look for the "Sport" option. It may be located in the main menu or as one of the tabs in the panel.
3. Click on "Competitions":
- When you find the "Sport" section, select the "Competitions" option. This is where you can edit information related to individual leagues.
4. Choose the league to which you want to add a table:
- From the list of available leagues, choose the one to which you want to assign a standings table. Click "Edit" to go to the settings of the selected league.
5. Paste the link to the standings table:
- Now, in the league settings, find the field where you can paste the link to the standings table.
- Such a link to the table will look like this, for example: yourdomain.com/standings/1
– for the first league.
- If you are adding another league, the link will have a higher number at the end, e.g. yourdomain.com/standings/2
and so on.
6. Save changes:
- After adding the link to the table, click "Save" to confirm the changes. This ensures that the standings table is correctly assigned to the league.
7. Repeat the process for other leagues:
- If you want to add a table for more than one league, follow the same steps for the additional leagues you want to add.
Displaying the default table
The table from the league set as default will be displayed in the "MATCH CENTER" – a place where users can see current results. The link to this default table will always end with /standings/1
. Each subsequent league will have a link with the next number, e.g. /standings/2
.
Adding league tables to the site menu
To allow users to easily switch between tables of different leagues, it is most convenient to add these links to the main menu on the site.
1. Go to menu management:
- To do this, find the menu management option in the panel. A detailed guide on menu management can be found here: [LINK].
2. Add a link to the default table:
- In the menu, add a new item, e.g., named “TABLE 1”. Enter the link path to the default league table, which is /standings/1
.
3. Add a link to the next table:
- Add another item to the menu, e.g., "TABLE 2", which will lead to the next league's table. In this case, enter the path /standings/2
.
This way, users will be able to navigate between league tables through the menu on the page.