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

Yes, you can do both.

Resource filtering


To filter out resources, you need to create a custom resource property. E.g. if you have different resource types, add a custom resource property type. Then for all your resources, specify the value of the new property (if you click on Batch edit property, you can do this quickly on a single page).

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. To do this, in Integrate with my website you'll be able to select the specific resources to be included. 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 Site settings 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

Questions Fréquemment Posées (FAQ)