Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Is it possible to change the "Order Pages"?

Started by Peter 9 years ago · 4 replies · 2274 views
9 years ago

The field type “order” --> “Sortable Pages” under the “Advanced” tab, section “Ordering” shows all ‘@self.siblings’.
Can it be configured to show all ‘@self.children’?
Thanks.

9 years ago

Hi PSG,

I think that if you add this:

'content:
items: '@self.children'

on the page you wan't it to be by going to 'Expert', and add the code in the Frontmatter window, that that should do the trick.

9 years ago

@djdakta,
actually I have this in the Frontmatter. The content of my page collection is '@self.children'. Therefore it would be nice to order them also from the same page and not at their own pages. I was hoping that there is a parameter for:

YAML
            order:
              type: order
              label: PLUGIN_ADMIN.SORTABLE_PAGES
              sitemap:

Thanks for answering.

9 years ago

@djdakta,
unfortunately not.
The page explains the page collections , sorting etc , but not the admin field type 'order' and how to change it or if it is even possible to change it anyway.
ordering|523x248

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 7 days ago
4 145 6 days ago
Support · by nwhitfield, 1 week ago
2 125 1 week ago
Support · by stell, 3 weeks ago
5 364 2 weeks ago
Support · by gravinator, 1 month ago
5 556 2 weeks ago
Support · by Gravver, 3 weeks ago
6 344 3 weeks ago