I tried to create a listing page following the manual:
The simplest approach to setting this up is to create child pages below the listing page
So from the admin i created a default page and under it i created again from the admin forms three more pages.
I expected that ‘magically’ the first page will contain a listing of its subpages . but that didnt happen.
What happened is that in the main site meny selecting the page entry a popup menu will list the three subpages.
I guess messing with the frontmatter and twig could make the collection works but i wonder if there is an easier faster way that could be used from a simple user.
Thanks
Hi, that Twig is necessary, otherwise Grav does not know what to render.
The GUI is there until you step a little bit out of the path and create custom things (like in this case, you’re creating a custom page type + a custom template).
The simplest approach to setting this up is to create child pages below the listing page.
I dont find any 'simplicity" in adding a twig snipped in an active’s theme template file which will be ‘called’ if it’s filename mathes the page’s filename.