Page edit problems

I presume you mean?:

01.Genesis/
  001.Capitulo-1/    <-- Note the dot instead of dash
     docs.md
  002.Captiulo-2/    <-- Note the dot instead of dash
    docs.md
02.Exodo/
  etc.

Please be precise in your wordings and snippets!

You won’t be able to… That’s the philosophy of Grav: folder/file.md. The foldername defines the slug/url.

Sorry about that, I did type it out, and you are correct it is the dot, not the dash.

Good to know, I will quit trying.

Next…

  • Generate a single page
  • Test
  • Generate 10 pages
  • Test
  • Generate 100 pages
  • Test
  • 500, 1000, etc.

Ok, it has to do with my folder names!
001.Genesis this folder is fine
inside that folder 001.Capitulo-1 is not fine. Changing that to capitulo-1 is fine, or name-1 is fine, but the number sequence inside the already numbered folder messes up Grav. That should be easy to fix. @pamtbaau Thank you so much for sticking with me and helping me. Troubleshooting is not my strong suit… but you already figured that out.

@shane, I recall having read something about triple leading digits causing issues and that it had been fixed, but this thread didn’t ring a bell.

I just looked up the repo of Admin and there appears to be an old issue with a similar behaviour. I added a comment: Duplicate page file created when using 3-digit ordering prefixes · Issue #2257 · getgrav/grav-plugin-admin · GitHub

Ah, here is the other 3 digit issue I recall and has been fixed: Page order is wrong when more than hundred child · Issue #1151 · getgrav/grav-plugin-admin · GitHub. Because I knew about this issue I thought 001.folder/default.md should be no problem. Unfortunately it is…

1 Like

I have had this problem for a couple of years, but as mentioned, I don’t edit much, and have just made any edits needed in text editor, not in the GUI. But it has kept me from using or recommending Grav for anything else.

I just realized if I remove the triple digits the pages no longer display in the menu on the left hand side. :frowning: that is not good. Unless I add the visible: true to the frontmatter of the page. So that is disappointing.

There is one folder where triple digits are necessary.

This is by design. According the docs: Headers / Frontmatter | Grav Documentation

By default, a page is visible in the navigation if the surrounding folder has a numerical prefix, i.e. /01.home is visible, while /error is not visible . This behavior can be overwritten by setting the visible variable in the header. Valid values are true or false .

Please stay on topic in a post. This is no longer related to “Page edit problems”.