Table of Contents
Adding a Custom Element to the Container
Setting Choose Source and Set Attributes
Firstly, navigate to the page where you would like to like to add the Ladders and Fixtures & Results. Once you are ready to add in your Ladders and Fixtures & Results, you will need to firstly create a Container to hold your content.
Creating a Container
Click on the + icon to open the Add Elements menu and then select the Container Icon to add a Container.
Click and drag your container to the position you would like it to be. Use the resizing nodes to resize your container. You will then need to add Text to the Container.
Adding Text to your Container
Click on the + icon to open the Add Elements menu and then select the Text Icon to add Text. Click and drag the text box inside your container and resize it using the resizing nodes to fit into your container. This will act as the heading. Click on the text-box until the option for Edit Text appears, click on this and rename your text box to Ladders.
Adding a Custom Element to the Container
Click on the + icon to open the Add Elements menu. Now click on the Embed and Social option and select the Custom Element.
Click and drag this inside your Container and resize it using the resizing nodes to fit your Container.
Setting Choose Source and Set Attributes
Click on the Custom Element several times until the Choose Source and Set Attributes text box option presents.
To Add Ladders
Select Choose Source and update the Server URL to:
https://wix.playhq.com/v1/static/js/ladder.js
Update the Tag Name to: playhq-widget-ladder
To Add Fixtures & Results
Select Choose Source and update the Server URL to:
https://wix.playhq.com/v1/static/js/fixture.js
Update the Tag Name to: playhq-widget-fixture
Setting Attributes
Now select the Set Attributes option and select New Attribute. Enter the following details:
Attribute Name | Value |
data-tenant | na |
data-api-key | (Contact Support for Organisation API) |
data-ladder-widget-type OR data-fixture-widget-type |
CLUB or ASSOCIATION (depending on your organisation) |
data-organisation-id | (Contact Support for Organisation API) |
Note: The data-api-key and data-organisation-id value will be unique to each Organisation. Please contact the Support Team if you require this information. The default value for these will be
na-codeware.
Your Element Attributes should be the same as the one in the following image: