Hi,
what's the best way to hide the main page editor?
As I am using custom fields this one is obsolete...
Thx!!
Hi,
what's the best way to hide the main page editor?
As I am using custom fields this one is obsolete...
Thx!!
Hi @slarcher, you could use the unset feature for blueprints to hide a field, more info here:
https://learn.getgrav.org/forms/blueprints/advanced-features#removing-fields-properties-unset
To hide the content area on a page you would create a custom blueprint for that page type, and then have something like this:
title: Custom Page
'@extends':
type: blog
context: blueprints://pages
form:
fields:
tabs:
type: tabs
fields:
content:
fields:
content:
unset@: true
Let me know how things go.
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 8 | 227 | 9 hours ago | ||
| 8 | 667 | 23 hours ago | ||
| 1 | 98 | 1 day ago | ||
| 3 | 159 | 3 days ago | ||
| 2 | 106 | 5 days ago |