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

Blueprint options reference

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

Currently that's something missing from the docs, and one thing we need to improve. You need to read how the fields are built from the source.

Here's a pointer to the twig files that define the fields.

Fields added by the Form Plugin:
https://github.com/getgrav/grav-plugin-form/tree/develop/templates/forms

Fields onl available in Admin:
https://github.com/getgrav/grav-plugin-admin/tree/develop/themes/grav/templates/forms

Validate is a bit a special case, lets Grav know how should it validate the field, the best way to see the options is to check other blueprints from https://github.com/getgrav/grav/tree/develop/system/blueprints for example.

10 years ago

Thanks, more information about blueprint options would be very useful. For example, what is the correct syntax for creating multi tabs in the admin? I only managed to add tabs by extending the default template.

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