Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Grav not saving custom fields

Started by Muut Archive 10 years ago · 1 replies · 617 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 Deleted User, 9 years ago
0 1369 9 years ago
Archive · by Muut Archive, 9 years ago
2 943 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1126 9 years ago