Small Modification for Blueprint Snippets

On a medium sized project with about 20 different page types I didn’t like to add similar pages e.g. for a visual area or notifications on each page again and again. It’s also a bad idea to change snippets using these fields afterwards because you have to fix all blueprints offering these fields …

So I made a small modification to the panel files to add a possibility for blueprint snippets.
Using this modification you can just refer to a snippet in your regular field list. Snippets are normal blueprint files located in a snippet-subdirectory.
Doing so you can “import” a predefined set of fields to every blueprint.

More information and the changes you have to make for this can be found on my pull request:

1 Like

Global field definitions are now a feature in Kirby 2.2.