Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Is it possible to change the "Order Pages"?

Started by Peter 8 years ago · 4 replies · 2135 views
8 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.

8 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.

8 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.

8 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 Paul Hodges, 4 weeks ago
19 484 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago