Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Weird Error - Saving page with new template

Solved by Andy Miller View solution

Started by Michael Gollmer 9 years ago · 2 replies · 811 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 FrViPofm, 4 weeks ago
4 474 2 weeks ago
Themes & Styling · by johan thomas, 5 years ago
1 800 3 weeks ago
Themes & Styling · by stuart young, 2 months ago
3 660 2 months ago
Themes & Styling · by Sebadamus, 3 months ago
5 680 2 months ago
Themes & Styling · by martynfoster735, 3 months ago
1 642 3 months ago