Hi
Looking at this resource, not sure how it applies to my site…
I have this as the landing page of the panel:
I need both to be re-arrangable so I can change the order.
When I click Settings for a page, rather than bring up the order number, I have it set to “draft, in review, published” which was the default from the Kirby template I started with.
This is my site.yml file:
title: Site
columns:
- width: 1/2
sections:
pages:
type: pages
sortable: true
templates:
- solo
- group
- info
- width: 1/2
sections:
archive: sections/archive
This is the archive.yml
type: pages
headline: Archive
parent: kirby.page("archive")
info: "{{ page.template }}"
templates:
- solo
- group
empty: No archive yet
sortBy: date desc
I don’t really understand what you are trying to achieve? If you want these sections to be manually sortable (by dragging and dropping or by selecting a sort number when publishing a page, then all pages have to use the standard numbering scheme (number prepended to page folder, e.g. 1_somepage
). The numbering schemes date
and alphabetically
don’t allow manual sorting (because that wouldn’t make sense).
What numbering scheme have you applied to the solo
, group
and info
templates?
Thanks for quick reply.
Basically, what I have set up now might be a jumble of conflicting things. I started with the Kirby Master template. So I’m asking what I can do to make it so the admin can re-arrange the order of the pages, so that that order will be reflected on the front end. Whether that’s through the status function, or something else…
As I said above, the pages need default numbering, which means that the subpages’ blueprints may not have num: date
or num: zero
, i.e. since prepended numbers are the default for published pages anyway, don’t set the num
option.