Calendar widget
This widget shows a real time calendar of activities based on your settings.
Installation
WordPress
When your WordPress plugin is installed, just head to Settings > Zooza and from dropdown of pages, select a page where you want the form to appear.
Shortcodes
You can also use shortcodes to place the form anywhere within the page. More configuration options for shortcodes is described below in their respective sections.
[zooza type="calendar"]
Wix
In Wix editor, click on Zooza widget. In the Settings panel, enter the api key and as a widget choose Calendar.
Embed code
Place the following snippet directly into the <body> of your page, where you want the booking form to appear.
| Placeholder | Description | Example Value |
|---|---|---|
YOUR_API_KEY | Replace with the API key found in the application under Publish > Widget. Appears twice. | abc123xyz |
ZOOZA_API_URL | Replace with the Zooza API URL for your region: Europe: https://api.zooza.app, UK: https://uk.api.zooza.app, UAE: https://asia.api.zooza.app | https://api.zooza.app |
<script data-version='v2' data-widget-id='zooza' id='YOUR_API_KEY' type='text/javascript'>
( function() {
function async_load(){
document.body.setAttribute('data-zooza-api-url', 'ZOOZA_API_URL');
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true;
s.src = document.body.getAttribute('data-zooza-api-url') +
'/widgets/v2/?type=calendar&ref=' + encodeURIComponent( window.location.href );
var embedder = document.getElementById( 'YOUR_API_KEY' );
embedder.parentNode.insertBefore( s, embedder );
}
if ( window.attachEvent ) {
window.attachEvent( 'onload', async_load );
} else {
window.addEventListener( 'load', async_load, false );
}
} )();
</script>
Settings
These settings are managed within the Zooza's main application Publish > Widget > Calendar.
URL
This will let Zooza know where your widget resides so that it can redirect your customers to it when necessary.
Availability
This will affect how the availability information is shown for classes.
| Value | Description | Example Value |
|---|---|---|
| Do not show | Availability information will be hidden | n/a |
| Current status | This will show exact real-time numbered value, thus revealing how many users are already booked out of available capacity | 10/10 |
| Text information (Default) | This will show text version of the above | Last spot available |
Use link for more information
If enabled, then clicking on calendar tile will navigate users to a course url provided in Courses > Course > Settings > Course Settings > URL.
Use link to registration
If enabled, then clicking on calendar tile will navigate users to a Registration Form.