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

Modular page doesn't shows its children

Started by Muut Archive 10 years ago · 4 replies · 341 views
10 years ago

I followed the instructions from the docs and have problems to get a modular page working.

Instead of showing the parts as defined in pages/01.home/modular.md (and using their twig templates) the themes/mytheme/templates/modular.html.twig is used to render the homepage. If I delete that template I get an error 'Template "modular.html.twig" is not defined.' Modular

10 years ago

Ok, thanks! That makes a lot more sense. I thought that GRAV itself assembles those modular pages internally. The documentation could be a little more explicit about that :-)
However, it now works! Thanks again!

10 years ago

If you think a page of the docs is not clear enough please post an issue on the Learn site GitHub repository with a proposal to improve them, which part is confusing to you, how it can be improved. Thanks!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1365 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1124 9 years ago