Online Module Setup

GymMaster Online Module Setup

Overview & Example

GymMaster Online Module Demo

The GymMaster online module is designed to integrate into the existing website of a gym. In order for it to function, your web developer will need to create a dedicated page on the host site, and you’ll need to provide us with the necessary information to configure the backend. Additionally, you will need to contact us to arrange remote database access.

For the web developer:

Please note that until we’ve been given the information required to configure the backend, nothing will appear on the frontend even if the includes are in place, this is perfectly normal.

A page will need to be added to the host site, with the following includes added either to that page, or to a site-wide header, at your preference, replacing USERNAME with the gym’s GymMaster username:

 

<script>
if (typeof jQuery !== 'undefined') var oldJQuery = jQuery.noConflict(true); 
</script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
jQueryX = jQuery.noConflict(true); 
jQuery = oldJQuery; 
</script>
<script type="text/javascript" src="https://USERNAME.gymmasteronline.com/portal/static/js/hostpage.js"></script>

 

An iframe will need to be added to the host site with the id of “gmiframe”, also replacing USERNAME with the gym’s GymMaster username:

 

<iframe class="gmiframe" src="https://USERNAME.gymmasteronline.com/portal/" width="100%" seamless scrolling="no" frameBorder="0"></iframe>

 

Calendar

To add the GymMaster timetable to your website, you’ll need to include the following:

 

<iframe class="gmiframe" src="https://USERNAME.gymmasteronline.com/portal/classcalendar" width="100%" frameBorder="0">
</iframe>