mattface89
Member
Posted 3 years ago #
Hello koelle,
I was wondering if it is capable to display the fixtures or matches of a certain league in a post or page. I tried to use the "[leaguematches=league_id,dates]" tag that is provided in the readme file however I could not get this to work. Could you possibly provide an example?
Also is it possible to display a single match or fixture? For instance if I were to make a new page that would display the latest fixture for my team, how would I do it?
Finally a little off-topic here but I am assuming that the "T" column in the league table is representing the amount of matches tied or drawn. Is it possible to change the "T" in the league table display to a "D" in order to represent a draw?
Kind regards,
Matt
I'm sorry. Since the last update the date option is no longer availabl, because matches are ordered in weeks. Just use
[leaguematches=league_id]
You can also use the TinyMCE Button.
mattface89
Member
Posted 3 years ago #
Unfortunately this does not work. However an empty drop down menu appears with a button labelled "show".
What is the TinyMCE button?
The button has a gymnast as image. Of course you need to substitute league_id with that of the league you want to display.
mattface89
Member
Posted 3 years ago #
Yes of course, it does not work. I have 18 teams and 18 matches have been played. The empty drop down menu appears with
[leaguematches=1]
entered.
Did you set the number of match days in the league settings? Are some matches shown?
mattface89
Member
Posted 3 years ago #
Ah right it works now.
Not too keen on the way it is organised however, would it be possible to list all of the matches?
That way I can limit the matches to the home team only through preferences, and have a page with all of my teams fixtures.
Hey,
i have re-implemented this feature in the development version. You can use the following tags:
* Display matches based on match days (default)
´[leaguematches=league_id,]´
* Display all matches
´[leaguematches,all]´
* Display matches of home team only
´[leaguematches,home]´
I have also updated the TinyMCE Button to support the new tags.
mattface89
Member
Posted 3 years ago #
Great this works perfectly, thanks for your effort!
mattface89
Member
Posted 3 years ago #
Hey I was wondering if you could do me a favour?
The version mentioned above worked perfect for what I required. After I updated the 'old' development version to the new one (I know I should not have done this!) the plugin did not function. Now the development version is obviously newer and I cannot get access to the older version. Would you be able to somehow provide me with the necessary file changes that would allow me to display the matches of the home team only?
thanks
steven_gardner
Member
Posted 2 years ago #
Does anyone have an answer for changing the 'T' for tied to 'D' for Drawn.
Small issue but one i would like resolved.
Thanks
steven