I’m trying to put together proper filters to do the following (for PICK fields):
- Published pages using template X
- Published pages whose parent uses template X
You could try using a custom input field to build a custom list and output the <select> field, follow the format for your <select> field by looking at pods/ui/input_fields.php example for the ‘pick’ field.
You can also try this filter, I’ve just copied the line we use to run the filter, you can make your way around from there:
$result is a MySQL resource, but you can return another MySQL resource (using pod_query), or return an array of items. Below is also another filter you can try, which gives you an array of the data, which you can modify or replace and send back — please note this is newly included in Pods 1.12.4 which is about to be released tonight: