Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Default page templates still available after deletion

Started by P. Fighter 9 years ago · 1 replies · 801 views
9 years ago

So, I initialized a new theme using the CLI and it featured a bunch of default pages...

I didn't need them most of them so I decided to delete most and rename the rest. Yet, the pages still persist after deletion of their Twig templates. - There are no blueprints for any pages in the user folder.

I found default.yaml, external.yaml and modular.yaml in system/blueprints/pages. Are these partly the culprits?

Pages like Error and Form continue to populate the Add Page modal in the admin panel without any apparent trace as to why or how.

I tried grepping for them with no luck.

Are these templates referenced somewhere or kept in cache or what? What do I need to do to remove them completely from Grav?

last edited 03/13/18 by P. Fighter
9 years ago

These templates comes from Error plugin and Form plugin.

You can hide these templates by going to admin plugin configuration in Plugins > Admin and hide these page types.

the files inside system/blueprints should be left untouched, and more generally, anything outside /user folder should be left as is.

👍 1

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 6 days ago
0 106 6 days ago
General · by lynbor, 4 weeks ago
3 436 2 weeks ago
General · by lynbor, 3 weeks ago
7 555 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago