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

Page blueprint problem

Started by Muut Archive 10 years ago · 2 replies · 364 views
10 years ago

Hello,

I am trying to build a blueprint for a FAQ page. I have followed the documentation but I do not see anything new (no tab) on the admin panel.

Hère is my blueprint (located into the blueprints directory):

YAML
title: FAQ
'@extends':
    type: default
    context: blueprints://pages

form:
  fields:
    tabs:
    type: tabs
    active: 1
      fields:
        faq:
          type: tab 
          title: Faq

          fields:
            header.faq:
              name: faq
              type: list
              label: Frequently Asked Questions

              fields:
                .question:
                  type: text
                  label: Question
                .answer:
                  type: text
                  label: Answer

What's wrong with this ?

Thank you.

10 years ago

Well, I finally got it working (dunno what was wrong thouhg.)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1359 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2956 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago