Use Sportal365’s widgets to display various sports information and allow users to engage, and interact with the platform.
The Squad/team players widget lets you display the whole squad or selected players on specific positions.
Information about the whole team
If you want to display all team players, select all options under the Team field in Blocky.
The Display unknown option is selected to ensure that all players are included, in cases when data providers don’t specify the position of the player.
Information about players on a specific position
If you want to provide contextual information about players on a specific position, select the position you wish and Save block.
For example, if you wish to display information about “midfielders”, select the Display midfielders option and Save block.
Information about midfielders may appear on the front-end as shown below:
Information about injured and suspended players
The Squad/team players widget can also display injured and suspended players.
When you select to display injured players, a yellow cross will appear next to the name of the player that is injured. When you select to display suspended players, a red card will appear next to the player that is suspended.