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.

General

Extending Admin Site configuration

Started by Ton Haarmans 5 years ago · 4 replies · 542 views
5 years ago

Hi, I am trying to figure out how to extend the site configuration panel in Admin with options that I see are there in site.yaml, but are not shown in the Admin. I know stuff like that is done with a blueprint.yaml file, but I cannot find this for the standard site configuartion. Hope someone can help me.

5 years ago

Hi @TonHaarmans

To extend the administration

Add the new files here: "user > blueprints > HERE
Use the same hierarchy as: "system > blueprints > HERE".

Sincerely
Kit

5 years ago

Thanks Kit. I am still a newbe with this stuff. What do you mean with new files?

5 years ago

If you are a novice, start by trying to create a new file "client.yaml" (in orange on the image) and add the fields you like
Check out the documentation for all the fields available

Be careful if you modify an existing behaviour, if you update this part it will be impacted.
Example : system.yaml and more

grav-cms-backoff-extend-admin|555x499

Sincerely
Kit

4 years ago

Sorry for the late reply. I've been ill for a while. Anyway, I am not sure if I understand you. Is this the procedure to add items in the Admin, that are already present in system.yaml, but do not show up in the Admin (that's what I need). Or is this a procedure to add items that are not present in existing yaml files?
Thank you for answering!

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 74 6 hours ago
General · by pamtbaau, 11 hours ago
1 47 10 hours ago
General · by Andy Miller, 23 hours ago
0 43 23 hours ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 39 5 days ago