Skip to content
Grav 2.1 is out: every page speaks Markdown. 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 · 757 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, 20 hours ago
1 34 7 hours ago
Themes & Styling · by stuart young, 1 month ago
3 480 1 month ago
Themes & Styling · by Sebadamus, 2 months ago
5 481 2 months ago
Themes & Styling · by martynfoster735, 2 months ago
1 460 2 months ago
Themes & Styling · by Justin Young, 2 months ago
1 490 2 months ago