MCA Leagues and Tables

CLM Tables, Rounds and Fixtures in your Article

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 activatted the plugin "plg_content_clm_show_ext_0_9_0.zip" (or higher).

Here is an example: Atticus Teams; Tables

To use this option, you have to use this code:
[showCLMData:<data-source-id>:<league-id>:<style>:<view>:<round-id>:<fixture-id>:<leg>]
Place this tag in your article whereever you like. The tag will be replaced by the corresponding table.

Source (<data-source-id>; always mandantory; our data source is "1").

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

 

    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; 3 = Fixture;

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

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)