| Parameter |
Description |
Default |
| &site | planyo site ID | demo (= demo site) |
| &language | language of the user interface; currently supported languages: EN, FR, DE, IT, ES, PL, DK, FI, SE, IS, RO | EN (= English) |
| &extra_search_fields | comma-separated extra fields in the search box | none |
| &sort_fields | comma-separated sort fields; a single field will hide the sort dropdown box. Allowed values: name, price, prop_res_xxx (custom resource properties) | none |
| &default_mode | Choose the initial mode: 'search' to
allow clients to search for available dates or 'resource_list' to
display a list of all resources (in such case search must be
initiated by embedding an extra search box -- see last step of
integration in Planyo's admin panel), or 'upcoming_availability' to
show a quick view of upcoming availability. Choosing 'empty' will not display anything by default but will require you to either pass the resource ID to the module as parameter in the URL (resource_id) or add an external search box or calendar preview | resource_list |
| &resource_ordering | Sorting criterium for the listing of resources in the resource list view. This can be set to name (this is the default) which sorts by resource name, or one of prop_res_xxx (custom resource property defined in Planyo) | name |
| &js_framework | One of: 'jquery', 'jquery-noinclude', 'mootools', 'mootools-noinclude'; Choose the Javascript framework which will be used by Planyo. Planyo works with both mootools and jQuery. Leave the default if you're not sure which one to choose. Change to 'mootools' if you already use mootools on your website and don't want to include multiple JS frameworks. If other parts of your website already use the library chosen, choose the 'xxx-noinclude' version to avoid including the library twice | jquery |
| &seo_friendly | 'true' or 'false'; Choose whether the plugin in the resource list and resource details modes should be SEO friendly (information retrieved from the server when loading the page) or not (information retrieved using Javascript/AJAX). Choosing yes will add a slight delay to the loading time of the page but will let search engines index the resource names, descriptions and photos. | true |
| &use_login | 'true' or 'false'; Choose whether the plugin should use the login information from this modx site. If used, the reservation form items will be automatically prefilled with known values and subsequent reservations will use previously entered data. | false |
| &attribute_string | Optional attribute string which can be used to add additional parameters to the planyo plugin | none |