How to integrate league tables, rounds, match reports (= fixtures), into your article
At first I like to mention that this is only possible if you run a Joomla-website and if you have installed and activated the plugin "plg_content_clm_show_ext_0_9_2.zip".
Here is an example: Atticus Teams: Tables
To use this option, you have to use this code:
League related:
[showCLMData:<data-source-id>:<league-id>:<style>:<view>:<round-id>:<fixture-id>:<leg>]
Season related:
[showCLMData:<data-source-id>:<season-id>:<style>:<view>:<club-id>]
Place this tag in your article whereever you like. The tag will be replaced by the corresponding table.
Explanation:
Source (<data-source-id>; always mandantory; our data source is "1").
URL of data source: https://merseysidechess.org.uk
League (<league-id>):
League-ID (always mandantory; leagues-ID of MCA )
League | League-ID |
---|---|
MCA Division 1 2019/2020 | 79 |
MCA Division 2 2019/2020 | 80 |
MCA Division 3 2019/2020 | 81 |
MCA Division 4 2019/2020 | 82 |
MCA Division 5 2019/2020 | 83 |
600-League 2019/2020 | 84 |
440-League 2019/2020 | 85 |
John-Ripley-Cup 2019/2020 | 86 |
Knotty-Ash-Cup 2019/2020 | 87 |
League | League-ID |
---|---|
MCA Division 1 2021/2022 | 92 |
MCA Division 2 2021/2022 | 93 |
MCA Division 3 2021/2022 | 94 |
MCA Division 4 2021/2022 | 95 |
7200-League 2021/2022 | 96 |
6000-League 2021/2022 | 97 |
John-Ripley-Cup 2021/2022 | 98 |
Knotty-Ash-Cup 2021/2022 | 100 |
Season <season-id>:
Season 2019/2020: <season-id> = 10
Style (<style>):
0 = auto width
1 = max width
2 = auto width + left
3 = auto width + middle
4 = auto width + right
5 = auto width + float left
6 = auto width + float right
View (<view>):
0 = cross-table (default)
1 = Table
2 = Fixture List
3 = Fixture
4 = Fixtures of a team
14 = Fixtures of a club
Round (<round-id>):
(take the number of the round from the CLM on the MCA website)
Number of Round - obligatory in 'View Fixture'
Fixture (<fixture-id>):
(number of the pairing; open the round on the MCA website and count the pairings. If your pairing is e.g. the third, then the fixture-ID = 3)
Paarungsnummer (= fixture-ID) - obligatory in 'View Fixture'
Leg (<leg>): Leg Number - default is 1
Chess Club (<club-id>):
if <view> = 14 |
if <view> = 4 then choose <team-id> |
if <view> = 4 then choose <team-id> |
7ATT Atticus Chess Club |
MCA Division 1 MCA Division 2 MCA Division 3 |
MCA Division 4 MCA Division 5 MCA 600-League MCA 440-League |
Examples:
- [showCLMData:2:78] displays the cross table of the league with the ID=78 from the Joomla-website, which is entered as data source 2. The parameter 'Style' and 'View' are using the default settings.
- [showCLMData:1:51:0:3:2:4] shows the fixture 4 from round 2 from the league with the ID=51 from the Joomla-website, which is entered as data source 1. This is the result:
Skelmersdale KAC | 110 | 2.0 : 3.0 | Wallasey KAC | 107 | |
---|---|---|---|---|---|
1 |
Heyes, William |
119 |
0-1 |
Wolszczak, Leon |
127 |
2 |
Devonport, Richard |
111 |
1-0 |
Hargreaves, Martin |
122 |
3 |
Bullen, R Stewart |
112 |
0-1 |
Heath, Graham |
104 |
4 |
Temme, Peter |
99 |
1-0 |
Champion, Ron J |
92 |
5 |
- |
0-1 |
Kelly, Alan |
88 |
1 = <data-source-id>
51 = <league-id>
0 = <style>
3 = <view>
2 = <round-id>
4 = <fixture-id>
no entry for <leg>, i.e. 1 (= by default)
You may use this code to get
If the tables won't be displayed, please look at the source code of the article and remove the em-tags inside the brackets.
- Cross-Table or Standard Table of Division 1: [showCLMData:1:79:1] or [showCLMData:1:79:1:1]
- Cross-Table or Standard Table of Division 2: [showCLMData:1:80:1] or [showCLMData:1:80:1:1]
- Cross-Table or Standard Table of Division 3: [showCLMData:1:81:1] or [showCLMData:1:81:1:1]
- Cross-Table or Standard Table of Division 4: [showCLMData:1:82:1] or [showCLMData:1:82:1:1]
- Cross-Table or Standard Table of Division 5: [showCLMData:1:83:1] or [showCLMData:1:83:1:1]
- Cross-Table or Standard Table of 600-League: [showCLMData:1:84:1] or [showCLMData:1:84:1:1]
- Cross-Table or Standard Table of 440-League: [showCLMData:1:85:1] or [showCLMData:1:85:1:1]
- Fixtures of Division 1: [showCLMData:1:79:1:2]
- Fixtures of Division 2: [showCLMData:1:80:1:2]
- Fixtures of Division 3: [showCLMData:1:81:1:2]
- Fixtures of Division 4: [showCLMData:1:82:1:2]
- Fixtures of Division 5: [showCLMData:1:83:1:2]
- Fixtures of 600-League: [showCLMData:1:84:1:2]
- Fixtures of 440-League: [showCLMData:1:85:1:2]
- Fixtures of John-Ripley-Cup: [showCLMData:1:86:1:2]
- Fixtures of Knotty-Ash-Cup: [showCLMData:1:87:1:2]
- all fixtures of a club: [showCLMData:1:<season-id>:1:14:<club-id>]
- all fixtures of a team: [showCLMData:1:<league-id>:1:4:<team-id>]