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.

Archive

Add settings for a theme

Started by Muut Archive 9 years ago · 3 replies · 519 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 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1104 9 years ago