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

Admin and Page Template?

Started by Muut Archive 11 years ago · 2 replies · 270 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 Deleted User, 9 years ago
0 1346 9 years ago
Archive · by Muut Archive, 9 years ago
2 933 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2945 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago