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

Admin GUI: Folders vs. pages

Started by Thomas Walter 7 years ago · 1 replies · 461 views
7 years ago

Hello all,

I’ve read the section on Pages and Folders multiple times now and still don’t understand what the “add folder” link in the frontend is meant to do.

It does not create a “module-folder” since it doesn’t get an underscore as first character. It is “non-routable” though.

It is also not a basic filesystem “folder” per se, since the frontend associates it with a default page template and even allows me to enter content (even though it doesn't have a default.md file after creation).

18|606x98

The folder also gets listed in a “@self.descendants” collection (one level above) even though it doesn’t have a page file and is not routable.

It creates a default.md5 file as soon as I enter content and also changes it to routable then - this basically makes it into a full page?

I am not sure if I am missing the important part in the documentation because it’s late and I should be in bed already, but this is kind of confusing. 🙂

While I am thinking about making the year folders blog-list pages that list all posts from that year anyway, I’d really like to understand the difference between “page” and “folder” if a folder behaves like a page anyway?

last edited 01/28/19 by Thomas Walter
7 years ago

I'm also interested in "Add folder" vs "Add page".
Never understood what "Add folder" is for.

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 52 8 hours ago
Support · by Anna, 3 days ago
2 59 11 hours ago
Support · by Justin Young, 12 hours ago
1 30 11 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago