Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Disabling admin panel completely for specific page template

Started by P. Fighter 8 years ago · 0 replies · 565 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 Old Man Umby, 1 week ago
2 125 1 day ago
General · by jeremycherfas, 2 weeks ago
5 211 2 days ago
General · by lynbor, 1 week ago
2 146 5 days ago
General · by Sebastian, 2 weeks ago
1 141 2 weeks ago
General · by Andy Miller, 3 weeks ago
0 262 3 weeks ago