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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Is it possible to change the "Order Pages"?

Started by Peter 8 years ago · 4 replies · 1929 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 Thomas, 1 week ago
2 57 15 hours ago
Support · by Anna, 3 days ago
2 65 18 hours ago
Support · by Justin Young, 19 hours ago
1 33 18 hours ago
Support · by Duc , 1 week ago
2 68 5 days ago
Support · by Colin Hume, 1 week ago
2 60 6 days ago