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

Disabling admin panel completely for specific page template

Started by P. Fighter 9 years ago · 0 replies · 601 views
9 years ago

I'm aware that I can customize page blueprints very precisely. However, Is there a way to completely disable the admin panel for specific page templates (removing the domain.tld/admin/pages/[page] link from the admin pages overview), while still maintaining the existence of said page?

One, slightly hacky solution is to simply add the following to the page blueprint:

YAML
form:
  fields:
    tabs:
      fields:

Which disables the tabs altogether, but that leaves a rather broken looking page.

Any slightly more official and well functioning method of achieving practically the same thing?

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 6 days ago
0 108 6 days ago
General · by lynbor, 1 month ago
3 437 2 weeks ago
General · by lynbor, 3 weeks ago
7 557 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