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

Custom order modular pages in admin

Started by Muut Archive 10 years ago · 6 replies · 588 views
10 years ago

Hi,

I'm trying to figure out how to make a custom order on my modular pages in admin (not expert mode). They are not visible in the "drag and drop" order list and I can't find any way on doing this in the parent file. Is there any way I can do this without touching the filesystem?

10 years ago

Currently you can set the parent Modular page Order by to Title and set titles accordingly (same goes for Folder, if you prefer).

We have a better support for modular pages in Admin in the queue, where you'll be able to reorder more easily via drag and drop.

10 years ago

Order: By: Folder is working as expected, but if I set parent to

YAML
Content:
   Order: 
      By: Title

The modular sub-pages do not re-order themselves (their titles are 01 page, 02 page).

10 years ago

It's working now, seems I had to add Dir: asc nested under Order: to have the desired effect. That or the capitalization on Title (instead of title) was messing it up. Odd.

10 years ago

You should lowercase all of those. All the examples have all those YAML variables lowercase.

10 years ago

Was slightly misled by the reply above by flaviocopes then. Thanks for confirming!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1354 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4065 9 years ago
Archive · by Muut Archive, 9 years ago
1 2953 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago