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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

Weird Error - Saving page with new template

Solved by Andy Miller View solution

Started by Michael Gollmer 9 years ago · 2 replies · 562 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 Pedro M, 2 months ago
4 193 2 months ago
Themes & Styling · by Ian, 2 months ago
3 91 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 451 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 45 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 125 3 months ago