Planyo online reservation system snippet

About this snippet:

Planyo is a commission-free flexible online reservation system for any kind of resources such as hotels, holiday apartments, yacht rentals, driving schools, tennis courts, doctor appointments, events etc.

Planyo is available in 10 languages and helps you manage your clients' bookings by handling all email communication with the clients, allowing various booking confirmation mechanisms, handling payments (also online credit card payments), printing invoices etc.

This module embeds the reservation system (availability search box and the reservation form) into your site so the visitors can go through the whole process (search and reservation) without ever leaving your website. Before using this module you should create an account at planyo.com. Please see http://www.planyo.com/modx-reservation-system for more info. You can also see our home page at http://www.planyo.com for admin backoffice or visitor demonstration, or for tutorial movies, pricing and more info.

Usage:

Unzip the contents of the component into the assets/snippets/planyo subdirectory. Then, create a new snippet named planyo using contents found in snippet.src.php For demo purposes you may use the snippet without any parameters:
[!planyo!]
Otherwise, as a minimum, the snippet requires your site ID (if you don't have one, create a new site at www.planyo.com)
[!planyo? &site=`11`!]
Note: Use [!planyo!] instead of [[planyo]] to disable caching. This is required when using the SEO-friendly mode (which is the default).

Parameters:

Required

NONE

Optional

Parameter Description Default
&siteplanyo site IDdemo (= demo site)
&languagelanguage of the user interface; currently supported languages: EN, FR, DE, IT, ES, PL, DK, FI, SE, ISEN (= English)
&extra_search_fieldscomma-separated extra fields in the search boxnone
&sort_fieldscomma-separated sort fields; a single field will hide the sort dropdown boxnone
&presentation_modefalse: show the search box by default, true: show resource list by defaultfalse (= show the search box)
&empty_modefalse: show the search box or resource list (depending on &presentation_mode), true: display nothing by default; in this case you'll need to either pass the resource ID as URL parameter or add an external search box or calendar preview.false (= show the search box)