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

Disabling admin panel completely for specific page template

Started by P. Fighter 8 years ago · 0 replies · 440 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 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