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 · 533 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 jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 311 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 265 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago