I know that a section in a blueprint with the type: pages can have a parent option. Which is very good. But is it also possible to get a collection by a query? For example.
query: pages.findBy("affiliate_network_merchant_id", page.affiliate_network_id)
Or can I filter which pages to show up in the list from the parent?
February 4, 2019, 11:25am
You can’t use a query in a section. You could override the
children() method in a Page Model, but that would then affect the frontend as well, unless you switch the behavior of the method depending on whether you are in the Panel or the front-end.
Ok. Sounds like trouble… Is this some thing that could come in the future? I think it would be a very nice feature to be able to filter out pages in a Panel section.
February 4, 2019, 11:43am
That’s something that was originally planned but then stalled because it didn’t work reliably. But it is a feature many people have already requested and it is on the