Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Is it possible to change the "Order Pages"?

Started by Peter 9 years ago · 4 replies · 2200 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 complanar, 6 days ago
6 139 15 hours ago
Support · by Rick Beebe, 6 days ago
2 100 2 days ago
Support · by blu3prince, 3 days ago
0 51 3 days ago
Support · by alex, 4 days ago
2 92 3 days ago
Support · by Marcel, 2 weeks ago
1 143 4 days ago