Denne vejledning er på engelsk.
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 livescoring. When the tournament is finished, it will go back to the schedule automatically.
<script src="https://scores.golfbox.dk/api/js/GolfBox/customerid/XX/template/GolfBox" type="text/javascript"></script>
You can also have a different widgets on your front page, more information can be found here https://golfbox.zendesk.com/hc/en-us/articles/207490627
You will need to find your customerID - this is done by going into the schedule in the livescoring - you will find the ID in the URL.
There is 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 720 is minimum.
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
Kommentarer
0 kommentarer
Log ind for at kommentere.