Adding multiple subpages simultaneously via panel

Setting up larger catalogs, I’m looking for a panel editor’s way to add many sub-pages at the same time.

I feel like it was once possible to just open multiple tabs of the Add Page[1] url. Currently, for adding multiple subpages, in the same tab you

  1. click Add
  2. enter new page credentials
  3. arrive on a draft page
  4. return to the parent page
  5. repeat

which can get pretty confusing when initally setting up portfolios of many items and keeping drafts open or comparing data from other windows. Once the pages are set up, you can open these in new tabs.

Since most subpages contain images, I imagined adding a process hook on a custom “prepare subpages” file field: on saving the page, it would batch-create a sub-pages per image and remove them from the field. Alas this seems overkill for such a relatively simple UX demand.

  • Did I miss out on solutions?

  1. the only post I found, alas not about page add urls via frontend ↩︎

You can prevent this with the create option: Page blueprint | Kirby CMS

humm, yeah, this is actually desirable. What I’m missing is either:

  • the option to create subpages without being redirected to them
  • or some sort of internal panel route that would allow creating a subpage for a certain page when called

But that’s exactly what the feature I linked to does?

Yes! Thank you @texnixe, you were correct and sorry: I was somehow just looking at the status: listed option, not the redirect: false possibility.

Ok, so to reiterate:

  • to prevent redirects on subpage creation, on the particular subpage template, you can modify
create:
  redirect: false

to stay on the parent page and (since Kirby 4.1.) also prepopulate the title field e.g. with a custom callback method to quickly generate many items at once you can then open in separate tabs.

Also, the doc example of a shop is very fitting for this type of workflow.