Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Add settings for a theme

Started by Muut Archive 10 years ago · 3 replies · 842 views
10 years ago

Is it possible add a (global) settings form (blueprint) for a specific theme? I mean, when i change the background color for the whole theme instead in pages.
What is the most practice way to do this?
Trying adding the code below in /user/config/themes/my-theme.yaml

YAML
@extends:
    '@parent'

form:
    fields:
        content:

            fields:
                myfield:
                    type: text
                    label: My Field

But doesn't work.

10 years ago

Hi flaviocopes,
Oh okay. Ik try it. Tonight.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago