Skip to content
Grav 2.0 is officially stable. Read the announcement →
Themes & Styling

Weird Error - Saving page with new template

Solved by Andy Miller View solution

Started by Michael Gollmer 9 years ago · 2 replies · 718 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 stuart young, 2 weeks ago
3 251 2 weeks ago
Themes & Styling · by Sebadamus, 3 weeks ago
5 317 2 weeks ago
Themes & Styling · by martynfoster735, 4 weeks ago
1 310 4 weeks ago
Themes & Styling · by Justin Young, 1 month ago
1 348 1 month ago
Themes & Styling · by Slebeig, 2 months ago
4 474 2 months ago