Comment on page
Searching for events
GC-SEARCH block helps you check for specific time intervals for events.
GC-SEARCH block settings (click to enlarge)
There is a number of sections in GC-GALLERY block editor settings, let’s walk them through one by one.
This will be the date range within which the GC-SEARCH block will look for avilable slots, for example, from 2022/03/10 to 2022/03/12.
Same as with the date, this will be the time range within which the GC-SEARCH block will look for available slots, for example, from 10:30 to 12:30.
Please note that both the minimum and the maximum time and date values have to be recorded separately, as individual attributes.
Here you can select your calendar's time zone, for example, "2" for GMT+2 or "-3" for GMT-3.
TEXT and LISTEN blocks collecting time and date
Use the gathered data to set up the GC-SEARCH block.
GC-SEARCH block with custom attributes
Following the GC-SEARCH block, you will want to check the result of the search by checking the $_gc_free system attribute through the Switch block. If the search was successful, meaning there are no events in your calendar for the selected time and date, the value of the $_gc_free attribute will be "true".
GC-SEARCH search result check