This template lets you specify the HTML code which will be used only once for the whole search result list. The template must contain the tag:
$(results) which will be replaced by Planyo with a list of individual results (see the template below).
The special tags that you can use here are:
$(goog_map_results), also in the form of
$(goog_map_results_W_H) and
$(goog_map_results_W_H_Z) or
$(goog_map_results_W_H_Z:params).This tag embeds a google map with positions of all results. If the site itself has the coordinates entered in site settings, it will be also present on the map. You can optionally set the map width and height (W and H in the tag) and also the default zoom (Z). If omitted, width and height will be set to 100 pixels and zoom level will be 12. E.g. $(goog_map_results_200_200_11) will use the size of 200x200 pixels with the zoom level of 11
You can also use the tags
$(search_start_date) and
$(search_end_date) which will be replaced with the searched dates (start and end) or their timestamp-based versions $(search_start_timestamp) and $(search_end_timestamp) and
$(is_upcoming_availability) which will be replaced with 'yes' for upcoming availability or with empty text for search,
$(is_shopping_cart_search) will be replaced with 'yes' when the search is performed inside the shopping cart suggestions.
In the template you can also use the
$(result_count) tag that will be replaced with the number of matching results,
$(days_until_start_date) that will be replaced with the number of days left until the start search date,
$(search_period_days), $(search_period_hours), $(search_period_minutes) which will be replaced with the search period expressed in days, hours or minutes.
$(search_period_extended) will print the number of days the search period was extended by if the search box included the option to find also shorter periods and an extension was chosen. In all other cases the value will be empty.
The search filters are represented by the tags
$(filter_prop_res_xxx) and
$(filter_prop_cal_yyy) which return custom resource property filter xxx and custom site property filter yyy, respectively.
$(prop_xxx) will return the value of a form item named xxx used as a filter (or used as a way to update the price in the search results) in the search box.
If you use the special tag
$(list_unavailable_resources) (this tag will never add anything to the output), the search results will also list unavailable resources (always at the end regardless of your sorting criterium). In such case, your resource result code template (inner template) defined below can use the tags
$(is_available) and
$(is_unavailable) which take the value Yes (when true) or an empty text (when not true). You can also use
$(available_result_count) to get the total number of available results.
This template can also use tags which control paging, that is division of results into multiple pages, (in case paging is activated in settings/active features):
$(paging_navigation) outputs a complete navigation with links to the other pages, you don't need any other tags in order to add paging to your results;
$(paging_prev_url), $(paging_next_url), $(paging_page_url:N) - URLs of previous, next page and to page number N,
$(paging_current_page), $(paging_max_page), $(paging_results_per_page), $(paging_last_result_shown), $(paging_first_result_shown) - other tags with important information about paging. You can use the iterator and conditional tags together with these tags in order to create your own navigation between the different pages.
La plantilla también puede usar etiquetas generales. Ver por favor las siguientes preguntas frecuentes para una lista de etiquetas detallada:
Tag playgroundImpresión condicional de textosDatos del Sitio