Hi,
what's the best way to hide the main page editor?
As I am using custom fields this one is obsolete...
Thx!!
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
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 |
|---|---|---|---|---|
| 2 | 56 | 13 hours ago | ||
| 2 | 61 | 16 hours ago | ||
| 1 | 32 | 17 hours ago | ||
| 2 | 66 | 5 days ago | ||
| 2 | 59 | 5 days ago |