-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ordering of modules #628
Comments
Cannot recreate. Are you trying Admin |
I have the same issue (using Admin v1.1.0-rc.3):
---
title: Home
content:
items: '@self.modular'
order: default
--- I have two modules: If I enable "Folder Numeric Prefix" for each of them, both folders receive a |
Even worse: |
I can recreate the problem now, for some reason I wasn't having it previosuly! So, I can do something now. Also, replicated the rollback to 01 after save. "Parent setting order, ordering disabled" is normal on child pages. The parent page sets the order, you can do it by setting by data, title, folder name, or manually - but just in expert mode. |
Re #628 fix issue when saving a modular child folder as 05.something and being reset to 01.something upon save
The last 2 commits in the Admin plugin repository should fix this problem: https://github.com/getgrav/grav-plugin-admin/commits/develop @flesser @ritchiedalto can you test it too? |
I updated to rc.4 in the backend and it works now. Saving an existing module keeps its index, creating a new module and enabling Folder Numeric Prefix adds a new index n+1. Thanks for the immediate fix! |
In the gui on the advanced tab of a modular page, enabling Folder Numeric Prefix will definitely rename the directory of the page, prefixing it with a number. (e.g.
_module-name
becomes01._module-name
) However, when enabling it on a peer sub-modular page, it will again prefix the directory but without incrementing the number! All module folders will receive a01
prefix.The text was updated successfully, but these errors were encountered: