We’ve set up a ‘tiles’ component that allows a user to select a root node and those pages then display as tiles. They have a number of other options, such as whether to display thumbnails and descriptions etc. I’ve even been able to add the option to limit the list to a specified number. I’d also like to provide the option to choose how the tiles are sorted.
For the limit, the user enters a number into the provided text field. In the component’s paint layout, where the asset list is nested, it has the additional get parameter of tiles.limit - %globals_asset_metadata_tiles.limit% and then in the asset list it has %nested_get_tiles.limit^empty:100% in the assets per page field.
Now, I realise that asset sorting doesn’t have a field in which you can enter a keyword like the assets per page field, but is there a way to pass in the appropriate query string as below (where xxxxxx is the asset ID of the asset listing, and the final number would change depending on what sort you wanted)?
?page_asset_listing_xxxxxx_sort_by=0
I did have a play around with it and couldn’t get it to work, but I don’t know if that’s because it’s just not possible, or because I was putting variables in the wrong places.
Thanks!