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

Add settings for a theme

Started by Muut Archive 9 years ago · 3 replies · 520 views
9 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.

9 years ago

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

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1322 9 years ago
Archive · by Muut Archive, 9 years ago
2 917 9 years ago
Archive · by Muut Archive, 9 years ago
2 4048 9 years ago
Archive · by Muut Archive, 9 years ago
1 2922 9 years ago
Archive · by Muut Archive, 9 years ago
3 1106 9 years ago