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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Default page templates still available after deletion

Started by P. Fighter 8 years ago · 1 replies · 605 views
8 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
8 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 Jerry Hunt, 4 days ago
2 99 16 hours ago
General · by pamtbaau, 21 hours ago
1 63 21 hours ago
General · by Andy Miller, 1 day ago
0 48 1 day ago
General · by Marcel, 12 months ago
6 357 5 days ago
General · by Duc , 6 days ago
3 45 6 days ago