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

Page blueprint form data not saved to pages frontmatter

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

Hi,

I am creating some custom page blueprints, but I am having problems with saving the form's content. In this example, I am adding a new tab called some_tab with a simple text field on it, but no input is being persisted on the page's frontmatter.

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

form:
  fields:
    tabs:
      fields:
        some_tab:
          type: tab
          title: Some Tab

What am I doing wrong here?

Thanks,
Babs

10 years ago

Got it... when the field name is prepended with header, the content is save to the frontmatter. RTFM...

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1354 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4065 9 years ago
Archive · by Muut Archive, 9 years ago
1 2953 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago