Front page widget

From Help.baskethotel.com

Jump to: navigation, search

This widget is used to provide general info about all leagues, like standigs, schedule, leaders. It is possible to provide a list of leagus for this widget to show, also set league ordering.

Parameters

Widget name: MBT.API.Widgets.LEAGUE_RESULTS_VIEW_WIDGET

Name Description Values Default Required
league_selector_leagues Shows the specified leagues in leagues selector. Works only if show_all_leagues is set to 0. Array of league ids, e.g. [54,51,102,49]. No
show_all_leagues Forces showing all availible leagues in league selector. When all leagues are shown, they are sorted by age group and sort index. 0/1 1 No
hide_games_wo_time Show/hide games that have no time set. 0/1 0 No
hide_headers Hides widget header and schedule/standings/leaders tabs. 0/1 0 No
show_group_selector Show/hide top level groups in tabs. 0/1 0 No
show_more_games_link Show/hide link to full schedule and results. 0/1 1 No
show_full_standings_link Show/hide link to full standings. 0/1 1 No
show_more_leaders_link Show/hide link to players statistics. 0/1 1 No
show_competition_home_link Show/hide link to competition home. 0/1 1 No
competition_home_handler Name of javascript function which is responsible for handling competition home link clicks. function handler(seasonId). JavaScript function name No
more_games_handler Name of javascript function which is responsible for handling more games link clicks. function handler(seasonId). JavaScript function name No
more_leaders_handler Name of javascript function which is responsible for handling more leaders link clicks. function handler(seasonId). JavaScript function name No
full_standings_handler Name of javascript function which is responsible for handling full standings link clicks. function handler(seasonId). JavaScript function name No
show_tv_details Show TV details text in schedule. 0/1 0 No
show_game_day Show game day column in schedule 0/1 0 No
show_games_count Number of future and past games to show in schedule Integer 6 No
show_channel_logo

Show or hide TV Channel logo columnt

0/1 0 No
channel_logo_size

Size of logo eg. 16x16

String 14x14 No

For this widget general widget parameters also apply.

Usage example

Personal tools