Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Modular page doesn't shows its children

Started by Muut Archive 11 years ago · 4 replies · 516 views
11 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

11 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!

11 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 Muut Archive, 10 years ago
1 676 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago