Is there a way to show “drafts” and “unlisted” pages in the pages section? I can see a “published” option to show listed and unlisted pages, but I cannot find a way to show “drafts” and “unlisted” together.
No, the available status options are draft
, unlisted
, listed
, published
, all
. You could, however, create a custom pages section that adds another option.
In this custom section you would have to overwrite the status property and the pages
and add
computed values.
This plugin can serve as a basis for your custom section: PagesDisplay Section | Kirby CMS
Thanks, @texnixe for your quick response! I will give that a try. Thanks for directly leading me into the right direction. Very much appreciated!
A short message to those who might hit a 404 with the plugin mentioned above, almost two years ago.
It is available here: GitHub - rasteiner/k3-pagesdisplay-section: K3 plugin: display any page list in a section. Any parent, many parents, filtered, don't care. and might still be relevant for such problems (with one limit: it doesn’t allow page creation when using a draft + unlisted view).