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

Disabling admin panel completely for specific page template

Started by P. Fighter 8 years ago · 0 replies · 546 views
8 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, 2 days ago
0 99 2 days ago
General · by ready-4-IT, 5 months ago
1 657 1 week ago
General · by jean-louis67, 1 month ago
2 399 1 month ago
General · by Andy Miller, 1 month ago
0 409 1 month ago
General · by Veehem, 1 month ago
0 334 1 month ago