Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Grav not saving custom fields

Started by Muut Archive 10 years ago · 1 replies · 736 views
10 years ago

Since im new to GRAV, i might be the error here, that said here is my issue:

I created two supplemental fields that extends the default page view in my theme, but when i save the post the custom fields data is not getting saved.

i can give you the code I wrote for the blueprint.

YAML
title: Landing
'@extends':
  type: default
  context: blueprints://pages

form:
  fields:

    tabs:
      type: tabs
      active: 1

      fields:
        content:
          type: tab
          title: Landing setup 
          fields:
            landing.head:
                type: text
                autofocus: true
                style: vertical
                label: Landing title

            landing.keyphrase:
                type: markdown
                autofocus: true
                style: vertical
                label: Call to action key

Could you help, I am getting no errors at all.

10 years ago

found the solution thanks to @MatthiasLenz

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 676 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago