The script to implement on a page is:
<script src="https://scores.golfbox.dk/api/js/default/customerid/XX/template/GolfBox" type="text/javascript"></script>
You just insert this on a page, and the schedule will populate automatically. It is a “smart” page, so it will know if there is a tournament running, to go directly to this tournament and show the live scoring. When the tournament is finished, it will go back to the schedule automatically.
You can also have different widgets on your front page, more information can be found here https://golfbox.zendesk.com/hc/en-us/articles/207490627-Website-widgets
You will need to find your customerID (Exchange the XX in the script with the number in the URL) - this is done by going into the schedule in the livescoring - you will find the ID in the URL.
To find the ID, go into any tournament.
SETUP
PUBLISHING
LIVESCORING
Click on VIEW
In the top Click on SCHEDULE
There are a few things that can be changed in the script.
Default can be schedule - this way it will always only show the schedule and not be "smart". If default is chosen, then it will open a current tournament automatically and go back to the schedule once the tournament is over.
Width can be changed to better fit the page, but 768 is minimum.
If you remove "width/800" from the script the width will automatically fit your page.
Template can only be changed if a template has been agreed upon and developed by GolfBox.
If there is any questions, do not hesitate to contact support@golfbox.dk
Comments
0 comments
Please sign in to leave a comment.