I am very new to Kirby and i’m struggling to get to grips with the blueprints
Essentially I am trying to create a two columns layout within a block, I assume this is possible? I want a files field in the left column and multiple text fields in the right column (see screengrab). Note that I am using the Kirby Fields Block plugin to directly render the fields, my only reason for using this plugin is visual - I want to display multiple groups of fields to the user in a modular collapsible display (there doesn’t seem to be a simple built in display option to do this). I also want to remove the editing options.
Just cannot figure out where to declare the columns within the blueprint… i’ve tried to copy from the demos but I can’t make it work.
Blueprint minus any columns:
title: Home Page
icon: star
options:
delete: false
fields:
blocksname:
name: Block Name
type: blocks
max: 1
fieldsets:
hero:
options:
delete: false
name: Hero Block
preview: fields #this is the important command
wysiwyg: true
icon: bolt
fields:
image:
label: Select files...
type: files
layout: cards
width: 1/2
link:
type: url
width: 1/2
text:
type: text
width: 1/2