Using the content plugin

The content plugin supports two different table layouts to display results, a result set for one individual race and a list of results for one individual athlete. In general the plugin code used has the format

altjpodium view=...|id=..alt

Result for one race

Mandatory parameters

  • view: race
  • id: ID number of the race you want to show

Optional parameters

  • grouping: class|heat|no - defaulted to no when missing
  • showtime: 0|1 - defaulted to 0 when missing
  • showpoints: 0|1 - defaulted to 0 when missing
  • showremark: 0|1 - defaulted to 0 when missing
  • remarklabel: alternative label for the remark column - default label JText::_('Remark') used when missing

The optional parameters are optional, this means it is not necessary to use them with the value 0 if e.g. the time column should not be displayed. The sequence is not fixed, only the spelling is required as stated above.

Examples of valid plugin codes

  • altjpodium view=race|id=3alt - displays the results for the race with the raceID=3 without any grouping or additional colums like time, points or remark
  • altjpodium view=race|id=5|grouping=classalt - displays the results for race 5 with class subgrouping; no additional columns
  • altjpodium view=race|id=7|showremark=1|remarklabel=What else...alt - displays the results for race 7 including the remarks column; the default label of the remark column is overwritten with the text "What else..."
  • altjpodium view=race|id=9|showtime=1|showpoints=0|showremark=1alt - displays the results for race 9 including the time and remarks column; the points column is not shown

Result for one athlete

Mandatory parameters

  • view: athlete
  • id: ID number of the athlete you want to show

Optional parameters

  • showtime: 0|1 - defaulted to 0 when missing
  • showpoints: 0|1 - defaulted to 0 when missing
  • showremark: 0|1 - defaulted to 0 when missing
  • remarklabel: alternative label for the remark column - default label JText::_('Remark') used when missing

The optional parameters are optional, this means it is not necessary to use them with the value 0 if e.g. the time column should not be displayed. The sequence is not fixed, only the spelling is required as stated above.

Examples of valid plugin codes

  • altjpodium view=athlete|id=3alt - displays the results for the athlete with the athleteID=3 without any additional colums like time, points or remark
  • altjpodium view=athlete|id=7|showremark=1|remarklabel=What else...alt - displays the results for athlete 7 including the remarks column; the default label of the remark column is overwritten with the text "What else..."
  • altjpodium view=athlete|id=9|showtime=1|showpoints=0|showremark=1alt - displays the results for athlete 9 including the time and remark column; the points column is not shown

Result for one season

Mandatory parameters

  • view: season
  • id: ID number of the season you want to show

Optional parameters

  • showteam: 0|1 - defaulted to 0 when missing
  • showgap: 0|1 - defaulted to 0 when missing

The optional parameters are optional, this means it is not necessary to use them with the value 0 if e.g. the team name column should not be displayed. The sequence is not fixed, only the spelling is required as stated above.

Examples of valid plugin codes

  • altjpodium view=season|id=3alt - displays the results for the season with the seasonID=3 without any additional columns for team name or gap
  • altjpodium view=season|id=5|showteam=1alt - displays the results for season 5 with additional team name column

Last update: 13. Dec 2010