How can i extends multiple fields instead of single like that: fields/meta.php
fields:
pageSeo:
label: Meta Headings
type: headline
meta_title:
label: Meta Title
type: text
meta_description:
label: Meta Description
type: textarea
meta_keywords:
label: Meta Keywords
type: tags
It doesn’t seem to be possible to create a global field definition for a group of fields (e.g. 1 file that defines multiple fields). I understand extending a group would be akward/not possible, but i’m not interested in extending it. The power to add to the global group or make edits to the group which would then be reflected for every blueprint that calls it would be very useful.
Is it possible to define multiple fields in one global field definition file?
I tried and it doesn’t seem to be, but I’m not going to rule out that I did something wrong. I’d like to confirm this with the pros here.
Well, since Kirby now has global field definitions, that makes it even easier to include those and even extend them in your blueprints, even if you use the .yml extension instead of .php.