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 →

Weird Error - Saving page with new template

Solved by Andy Miller View solution

Started by Michael Gollmer 9 years ago · 2 replies · 922 views
9 years ago

Hello,

I created a new template for my child theme and wanted to use it now. But If I Try to save it always deletes every value I entered in the new created tab. I inherit the default template.

It starts like this:

TXT
title: Einsatzgebiet

'@extends':
type: default
context: blueprints://pages

form:
fields:
tabs:

YAML
  fields:
    einsatzgebiet:
      type: tab
      title: Einsatzgebiet

      fields:

        columns:
          type: columns
          fields:

            column1:
              type: column
              fields:

                content:
                  type: section
                  title: Inhalt
                  style: vertical
                  underline: true

                einsatzgebiet:
                  type: text
                  label: Einsatzgebiet
                  help: Hier muss der Name des Einsatzgebietes eingetragen werden
                  style: vertical
                  placeholder: Einsatzgebiet eingeben...

I get no error or warning. I also use gantry. Can somebody help me on this?

Regards,

Michael

9 years ago Solution

Did this get answered in Slack or GitHub already? Looks familiar...

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by MarkP, 2 weeks ago
3 193 2 weeks ago
Themes & Styling · by TomW, 2 weeks ago
0 111 2 weeks ago
Themes & Styling · by themetman, 3 weeks ago
1 206 3 weeks ago
Themes & Styling · by AH, 1 month ago
1 324 3 weeks ago
Themes & Styling · by Bruno, 4 years ago
6 1523 3 weeks ago