I’m trying to write a Blueprint. I have a pages field to allow the editor to select a page. Rather than display all the pages in the website, I’d like to just display/list the pages that use a particular template. Here’s my code, but the pop-up window says “No pages to select”.
Is this something to do with child pages? I’ll try and explain the structure:
Parent page PROJECTS has PROJECT subpages. There is also a PRODUCTS parent page with PRODUCT subpages (that use the product-template template). I need to link project pages with the relevant product pages.
Because this queries all pages of the site, which is not such a good idea (not such a big problem with small sites, but the more pages you have, the worse the performance). Better to use