FAQ Q194: Can I filter out resources displayed in the resource list page or change their ordering?

Seksjon: Integration with my website
Yes, you can display only selected resources and change their ordering in Planyo.

Resource filtering


To exclude specific resources from being displayed, you first need to set up a custom resource property (if not already configured) in Site Settings > Custom Resource Properties. For detailed guidance on setting up custom properties, see FAQ Q154.


Now that the new custom resource property is configured, in all your multi-resource views (resource listing, search, upcoming availability) you can filter out resources based on its value. Note that if it's a numeric value, you can also filter by numbers greater than / less than X. Otherwise, you can also specify a number of possible values, indicate a text which must be contained in the value etc. Go to Integrate with my website and whether you choose a widget or advanced integration code, you'll be able to select your custom resource property filter. Note that it's possible to use multiple filters simultaneously.

If you're configuring your attribute string manually, use the prop_res_xxx=yyy parameter in the plugin parameters (attribute string) Please note that the property name xxx in prop_res_xxx must be written all in lower case, spaces replaced by underscores and with the prop_res_ prefix), e.g for the property "Number of persons", this should be e.g.: &prop_res_number_of_persons=3

Another way you can list only specific resources, is listing them by their IDs. Using the plugin and widget generator wizard available under Integrate with my website, you can easily list only specific resources by selecting their names, with the option to simply mark the desired resources through checkboxes labeled 'Resource IDs displayed'

checkbox selection for filtering resources

If configuring manually, add the ppp_resfilter parameter to the plugin's attribute string or to the URL, e.g.: the following attribute string: mode=resource_list&ppp_resfilter=1,2,3 will list the resources with IDs equal to 1, 2 and 3.

Resource ordering


To change the default ordering, go to Resources > Resource list and under the resource listing click on the button Reorder. This lets you change the default ordering of resources in all lists and previews. If you need the resources to be sorted according to a different criterium in one of your listings, you can also use the sort parameter in the plugin parameters (attribute string). As in case of filters, this will be in form sort=prop_res_XXX

Special Access

If you only wish to make certain special resources reservable via a special link, you can use the Reservable only via special URL option in Resources > Reservation process. This feature ensures that these resources are not visible in the standard listings but can be accessed through a dedicated link.



Ofte spurte spørsmål