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 →

Admin and Page Template?

Started by Muut Archive 11 years ago · 2 replies · 450 views
11 years ago

The modular.html.twig page template from my theme is not showing up in the Admin as a choice for new pages types. My other page templates are. What is it that tells the Admin to include, or not include, a page template?

11 years ago

The Admin plugin scans the templates/ folder of your theme, you can even put an empty file called modular.html.twig and "Modular" will show up in the list.
If you set Antimatter as your theme, does it show up?

11 years ago

OK, I got this fixed. But I'm not sure how. It may have been a sticky cache - I know a couple of bin/grav clear-cache --all happened along the way.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 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