Integrate the scheduler into a web page

Updated:
September 7, 2022

To embed the Softpulse scheduler on your website, follow these steps:

Variant 1

Display of events with reservation in the format 3/5 (= 3 of 5 places are still free)

Binde den folgenden Code dort in den <body> deines HTML-Codes ein, wo der Terminplaner angezeigt werden soll:

<script>
(function() {
var f = function(){
var script = document.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.src = 'https://your-softpulse-domain.ch/widgets/scheduler/dist/widgets.js';
document.getElementsByTagName('head')[0].appendChild(script);
}
if (window.opera == '[object Opera]') {
document.addEventListener('DOMContentLoaded', f, false);
} else { f(); }
})();
</script>
<iframe id="fitness365-schedule-widget"
name="Fitness365ScheduleWidget"
src="https://your-softpulse-domain.ch/widgets/scheduler/dist/weekly-groups-schedule1.html?eventColor=F7A707&reserveButtonColor=F7A707"
width="100%" height="1060px" frameborder="0" scrolling="no" style="width: 1px; min-width: 100%;"></iframe>
  • Customise the URLs with your personal Softpulse URL
  • Adjust the colour HEX codes in the iFrame URL according to your needs (eventColor and reserveButtonColor).
Tip: There may be conflicts with other Java scripts on your web page. In case of display problems, try to move the javascript script to the end of your HTML body, just before the closing body tag
.

Variant 2

Display of events with reservation in format 3, the participant limit can be defined directly in the widget code

https://your-softpulse-domain.ch/widgets/scheduler/dist/weekly-groups-schedule1.html?freePlacesEventMax=5&freePlacesEventTemplate=Free%20places%3A%20%7B0%7D&freePlacesEventTemplateExceed=Free%20places%20more%20than%20%7B0%7D
Note: Be sure to write your new number in the email to avoid confusion.
lifesaver

You need help?

Contact us
No previous post
No previous post
No next post
No next post

Integrate the scheduler into a web page

To embed the Softpulse scheduler on your website, follow these steps:

Variant 1

Display of events with reservation in the format 3/5 (= 3 of 5 places are still free)

Binde den folgenden Code dort in den <body> deines HTML-Codes ein, wo der Terminplaner angezeigt werden soll:

<script>
(function() {
var f = function(){
var script = document.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.src = 'https://your-softpulse-domain.ch/widgets/scheduler/dist/widgets.js';
document.getElementsByTagName('head')[0].appendChild(script);
}
if (window.opera == '[object Opera]') {
document.addEventListener('DOMContentLoaded', f, false);
} else { f(); }
})();
</script>
<iframe id="fitness365-schedule-widget"
name="Fitness365ScheduleWidget"
src="https://your-softpulse-domain.ch/widgets/scheduler/dist/weekly-groups-schedule1.html?eventColor=F7A707&reserveButtonColor=F7A707"
width="100%" height="1060px" frameborder="0" scrolling="no" style="width: 1px; min-width: 100%;"></iframe>
  • Customise the URLs with your personal Softpulse URL
  • Adjust the colour HEX codes in the iFrame URL according to your needs (eventColor and reserveButtonColor).
Tip: There may be conflicts with other Java scripts on your web page. If you have display problems, try moving the javascript script to the end of your HTML body, just before the closing body tag .

Variant 2

Display of events with reservation in format 3, the participant limit can be defined directly in the widget code

  • Integrate the code from variant 1 into your website as described above.
  • Replace the URL with the following address:
https://your-softpulse-domain.ch/widgets/scheduler/dist/weekly-groups-schedule1.html?freePlacesEventMax=5&freePlacesEventTemplate=Free%20places%3A%20%7B0%7D&freePlacesEventTemplateExceed=Free%20places%20more%20than%20%7B0%7D
  • Adjust the parameter freePlacesEventMax=5 according to your needs.
Note: Be sure to write your new number in the email to avoid confusion.
lifesaver

You need help?

Contact us
Last modified:
September 7, 2022

Integrate the scheduler into a web page

To embed the Softpulse scheduler on your website, follow these steps:

Variant 1

Display of events with reservation in the format 3/5 (= 3 of 5 places are still free)

Binde den folgenden Code dort in den <body> deines HTML-Codes ein, wo der Terminplaner angezeigt werden soll:

<script>
(function() {
var f = function(){
var script = document.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.src = 'https://your-softpulse-domain.ch/widgets/scheduler/dist/widgets.js';
document.getElementsByTagName('head')[0].appendChild(script);
}
if (window.opera == '[object Opera]') {
document.addEventListener('DOMContentLoaded', f, false);
} else { f(); }
})();
</script>
<iframe id="fitness365-schedule-widget"
name="Fitness365ScheduleWidget"
src="https://your-softpulse-domain.ch/widgets/scheduler/dist/weekly-groups-schedule1.html?eventColor=F7A707&reserveButtonColor=F7A707"
width="100%" height="1060px" frameborder="0" scrolling="no" style="width: 1px; min-width: 100%;"></iframe>
  • Customise the URLs with your personal Softpulse URL
  • Adjust the colour HEX codes in the iFrame URL according to your needs (eventColor and reserveButtonColor).
Tip: There may be conflicts with other Java scripts on your web page. If you have display problems, try moving the javascript script to the end of your HTML body, just before the closing body tag .

Variant 2

Display of events with reservation in format 3, the participant limit can be defined directly in the widget code

  • Integrate the code from variant 1 into your website as described above.
  • Replace the URL with the following address:
https://your-softpulse-domain.ch/widgets/scheduler/dist/weekly-groups-schedule1.html?freePlacesEventMax=5&freePlacesEventTemplate=Free%20places%3A%20%7B0%7D&freePlacesEventTemplateExceed=Free%20places%20more%20than%20%7B0%7D
  • Adjust the parameter freePlacesEventMax=5 according to your needs.