Booking Calendar Shortcodes

If by some reason, you are want to inserting the booking shortcode manually directly into the posts or pages, please use following instructions

Booking Form

[booking type=1 form_type='standard' nummonths=1 startmonth='2014-01']

Parameters:
nummonths – number of the visible months in the calendar. If “nummonths” is omitted the calendar is show 1 visible month.
Available in Free and Paid versionsstartmonth – start month in the calendar after loading of the calendar with booking form. Format of value for this parameter is ‘YYYY-MM’. If “startmonth” is omitted the calendar is start showing months from current month.
Available in Free and Paid versions

type – ID of the booking resource. You can check the ID of the each booking resources at the Booking > Resources page. If this parameter is omitted, default value = 1.
Available in Paid versions

form_type – name of the custom booking form. You can create the custom booking forms at the Booking > Settings > Fields page. If this parameter is omitted, default value is ‘standard’.
Available in Business Medium / Large versions

agregate – possibility to show reserved days in one calendar from several booking resource. So its mean that one calendar can aggregate dates from several booking resource. Usage: agregate=’2;4;5′, where 2;4;5 – ID of booking resources. The ID of booking resources you can check at the Booking > Resources page.
Available in Paid versions

options – possibility to set calendar additional parameters: full calendar width (percentage or pixels), date cell height, number of months in one row and in Business Medium and higher versions the minimum or fixed number of days selection for the specific day of week or specific season.

Please note! This option is available since update 5.0
Description
Specify the full calendar width (one or several months in a row), the hight of date cell (so its possible to configure the height of entire calendar by that (just divide the entire calendar width to 7 and you will get approximate date cell height), the number of months in one row (its useful, if you want to show several months in several rows, for example 4 months in 2 rows or 6 months in 2 rows etc).

Configuration rules
Example 1:

options='{calendar months_num_in_row=2 width=568px cell_height=30px}'

Example 2:

options='{calendar months_num_in_row=3 width=100% cell_height=40px}'

The general structure of the configuration calendar parameter is following:

{calendar months_num_in_row="{NUMBER OF MONTHs IN ONE ROW}" width="{ENTIRE WIDTH OF CALENDAR IN px or %}" cell_height="HEIGHT of CALENDAR DATE CELL, only in px"}

Parameters:
calendar – name of the parameter. Its always the same in the version update 5.0 (Its required for the future extend functionality).
months_num_in_row – number of months on one row. Its can be any number.
width – the entire height of the calendar. This width can be in “px” (example: “400px”) or in percentage (example “100%).
cell_height – height of calendar date cell. The height can be only in “px” (example “30px”).


Please note! This option is available in Business Medium / Large, MultiUser versions since update 5.0

Description
Specify that during certain seasons (or days of week), the specific minimum number of days must be booked, for example: visitor can select only 3 days starting at Friday and Saturday, 4 days – Friday, 5 days – Monday, 7 days – Saturday, etc…
Important! Please note, this feature is working only, if you activated the “Range days” selection at the General Booking Settings page.

Configuration rules
Example 1:

options='{select-day condition="season" for="High season" value="7-14,20"},
{select-day condition="season" for="Low season" value="2-5"}'

Example 2:

options='{select-day condition="weekday" for="1" value="4"},
{select-day condition="weekday" for="5" value="3"},
{select-day condition="weekday" for="6" value="2,7"}'

The general structure of the configuration one condition rule are following:

{select-day condition="{season|weekday}" for="{Name of season filter|Number of week day}" value="Number of days selection"}, ...

Parameters:
select-day – name of the rule. Its always the same in the version update 5.0 (Its required for the future extend functionality).
condition – type of the condition. There are 2 types of the condition: “weekday” and “season“. “weekday” – is mean that condition rule is based on the selected day of week value, like Monday, Tuesday, etc… . “season” – is mean that condition rule is based on the “season filter” name of selected date. In other words the condition is TRUE if the selected day is belong to some season filter in the Booking > Resources > Filters page.
for – value of the specific conditions. If the condition is true, so then the number of specific days selection will possible in the calendar. If the condition is set as “weekday” so then “for” can have the following numbers: 0 – Sunday, 1 – Monday, 2 – Tuesday, 3 – Wednesday, 4 – Thursday, 5 – Friday, 6 – Saturday.
value – number of specific days selection in the calendar, which can be selected by visitors. It can be simple number or several days separated by comma (example: “7,14,21,28”) or by dash (example:”3-5″, its the same like this: “3,4,5”) or combination (example:”3-5,7,14″, its the same like this: “3,4,5,7,14”)


Examples:
Week days conditions.

[booking type=1 form_type='standard' nummonths=2 options='{select-day condition="weekday" for="1" value="4"},
{select-day condition="weekday" for="5" value="3"},
{select-day condition="weekday" for="6" value="2,7"}']

where values of the “for” parameter are mean following:
0 – Sunday,
1 – Monday,
2 – Tuesday,
3 – Wednesday,
4 – Thursday,
5 – Friday,
6 – Saturday
You can use only one number of the specific week day.

Its mean that on Monday is possible to select only 4 days,
on Friday is possible to select only 3 days,
on Saturday is possible to select only 2 or 7 days.

Season filters conditions.

[booking type=1 form_type='standard' nummonths=2 options='{select-day condition="season" for="High season" value="7-14,20"},
{select-day condition="season" for="Low season" value="2-5"}']

where values of the “for” parameter are mean following:
High season – its a name of the some Season filter on the Booking > Resources > Filters page,
Low season – its a name of the some Season filter on the Booking > Resources > Filters page
You can use only single season filter name in the one value.

Its mean that during High season is possible to select only 7, 8, 9, 10, 11, 12, 13, 14 or 20 days
and during the Low season is possible to select only 2, 3, 4 or 5 days

Setting the specific start day(s) selection (day(s) of week) for the specific Season Filters. (available since 5.0.1 update)
Description.
This configuration will allow to set the specific start day(s) selection (day(s) of week) for the specific Season Filters.
For example, in high season, you can allow start day selection only at Friday in the Low season (or any other days) to start day selection from any weekday.

1) I can suggest that you are activated the range days selection using 2 mouse clicks for the specific day(s) of week. For example for Friday.

2) So then inside of the page, where you are inserted the booking shortcode, you are need to have something like this, to allow any start day selection for the “Low season” days:

[booking type=1 form_type='standard' nummonths=6 options='{start-day condition="season" for="Low season" value="0,1,2,3,4,5,6"}']

Configuration of the Options parameter:
start-day – name of the rule. Its always the same in the version update.
condition – type of the condition. For this rule is available only 1 type of the condition: “season”.
season – is mean that condition rule is based on the EXACT “season filter” name of selected date. In other words the condition is TRUE if the selected day is belong to some season filter in the Booking > Resources > Filters page.
for – value of the specific condition – EXACT Name of Season Filter.
value – day(s) of week, where we can start selection for the specific season.
It can be simple number or several days separated by comma.
0 – Sunday,
1 – Monday,
2 – Tuesday,
3 – Wednesday,
4 – Thursday,
5 – Friday,
6 – Saturday


Additional info.
Please note, all these conditions are based on the “first” day of range days selection in the calendar.

Available in Business Medium / Large, MultiUser versions since update 5.0

Availability calendar

[bookingcalendar type=1 nummonths=1 startmonth='2014-01']

Parameters:
nummonths – number of the visible months in the calendar. If “nummonths” is omitted the calendar is show 1 visible month.
Available in Free and Paid versionsstartmonth – start month in the calendar after loading of the calendar with booking form. Format of value for this parameter is ‘YYYY-MM’. If “startmonth” is omitted the calendar is start showing months from current month.
Available in Free and Paid versions

type – ID of the booking resource. You can check the ID of the each booking resources at the Booking > Resources page. If this parameter is omitted, default value = 1.
Available in Paid versions

agregate – possibility to show reserved days in one calendar from several booking resource. So its mean that one calendar can aggregate dates from several booking resource. Usage: agregate=’2;4;5′, where 2;4;5 – ID of booking resources.
Available in Paid versions

Selection of booking resource (form) using select box.

Available in Paid versions
You can check example of using this shortcode at this page.

[bookingselect label='Please select the resource:' form_type='standard' nummonths=1 type='17,16,15']

Parameters:

label – text of label for the select box. If this parameter is omitted, default value is ”.

nummonths – number of the visible months in the calendar. If “nummonths” is omitted the calendar is show 1 visible month.

type – ID of the booking resources, separated by comma. You can check the ID of the each booking resources at the Booking > Resources page. This parameter is required.

form_type – name of the custom booking form. You can create the custom booking forms at the Booking > Settings > Fields page. If this parameter is omitted, default value is ‘standard’.
Available in Business Medium / Large versions

Showing only Form without calendar for the specific date (events booking)

Available in Business Large / MultiUser versions

[bookingform type=1 form_type='standard' selected_dates='25.11.2014']

Parameters:

type – ID of the booking resource. You can check the ID of the each booking resources at the Booking > Resources page. If this parameter is omitted, default value = 1.

form_type – name of the custom booking form. You can create the custom booking forms at the Booking > Settings > Fields page. If this parameter is omitted, default value is ‘standard’.

selected_dates – date of booking. Format of value for this parameter is ‘DD-MM-YYYY’. This parameter can not be skipped.

System shortcode for possibility to edit/cancel exist booking by visitors or make payment

Available in Paid versions

[bookingedit]

Please read more about this shortcode here.

Search Availability Form

Available in Business Large / MultiUser versions
You can check example of using this shortcode at this page.

[bookingsearch searchresults='http://mysite.com/search-results/' noresultstitle='Nothing Found' searchresultstitle='Search results:']

Parameters:

searchresults – URL of the page, where search results are showing. You must insert into the content of that page this shortcode: [bookingsearchresults]. If this parameter is omitted, the search results is showing at the same page, just below the search form (in this case its will be Ajax request).

searchresultstitle – header of the search results. If this parameter is omitted, default value is ”.

noresultstitle – showing text, if nothing found. If this parameter is omitted, default value is ”.

users – limit the search results based on the availability per user. Showing availability in search results only for the specific users. Example of usage search form shortcode: [bookingsearch users="1,2"] ; where 1,2 – its a ID list of users.
Available in MultiUser version

Search Results

Available in Business Large / MultiUser versions

[bookingsearchresults]

Page where the search results is showing after the search form is submitting. Please check the description about this shortcode: [bookingsearch]