Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Blueprint options reference

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

11 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 2290 9 years ago
Archive · by Muut Archive, 9 years ago
2 1506 9 years ago
Archive · by Muut Archive, 9 years ago
2 4756 9 years ago
Archive · by Muut Archive, 9 years ago
1 3572 9 years ago
Archive · by Muut Archive, 9 years ago
3 1629 9 years ago