Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Hide Title & Content Form Fields In blueprint

Started by tradedemon 8 years ago · 3 replies · 1440 views
8 years ago

Hi guys

I have a blueprint that extends default. I can see it comes with the title and content/editor fields.

Is there anyway to hide, remove these ?

I tired this and it didn't work.

TXT
title:
  unset@: true
8 years ago

Hi @tradedemon , I have answered this question on Discord but am posting it here for others as well (please do not double post).

To hide the content area you could do this:

YAML
                content:
                  unset@: true
                header.media_order:
                  unset@: true

Here is an example blueprint for reference in it's entirety:
https://github.com/hibbitts-design/grav-theme-bootstrap4-open-matter/blob/master/blueprints/menubaritem.yaml

👍 1
8 years ago

Thanks that worked a treat, the example blueprint was helpful in applying it to my own blueprint.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 2 weeks ago
4 251 2 weeks ago
Support · by nwhitfield, 2 weeks ago
2 217 2 weeks ago
Support · by stell, 4 weeks ago
5 463 3 weeks ago
Support · by gravinator, 2 months ago
5 640 3 weeks ago
Support · by Gravver, 1 month ago
6 432 1 month ago