Sorry, we don't support your browser.  Install a modern browser
This post is closed.

page section "Add" button is not limited of the page status#181

On a page section the Add+ button is limited to the all and draft statuses and I don’t think there is a good reason to do that.
Sometime I just want to display the listed ones, I can click on the headline to see all of the supages if needed.

https://getkirby.com/docs/reference/panel/sections/pages#add-button

4 years ago

We don’t include the button when the status is not including “drafts” because it would feel like a bug or be very confusing for editors when they add a new page and it doesn’t appear in that list.

4 years ago

@Bastian Yeah I got your point Bastian, this can be the default behavior. But in full knowledge and full consent the option can be choosen to the desired states.
As an example here, it’s for my portfolio, I’m comfortable with Kirby and know where to find stuffs I’m looking for.

4 years ago

As a forced option, I like it!

4 years ago

Now that you can change the default page creation status, I feel this request should be revisited.

As now, you can set the default status to “listed”, but the “Add” button will still only appear on the “drafts” pages field, not on one that just displays “listed”, so this can now cause the confusion that @Bastian was originally concerned about (just the other way around!).

Maybe the “Add” button could display automatically if there are page types with their default status matching that pages field’s status? This way, newly created pages would always appear where expected.

2 months ago

@James Cocker The difficulty here is that a page section can contain pages with different blueprints. But the new create default status option is not in the blueprint of the section (the parent) but would be used from the bluepritn of each child. So different blueprints could have conflicting values and checking/loading blueprints for all children could also be bad for performance.

Though I’ll give it a try to find a solution.

2 months ago
1
Changed the status to
In upcoming releases
2 months ago
Changed the status to
Completed
9 days ago