Yes, I want images_all by default, to show all the images in the pages folder – all the images associated with the case study. I’ve changed the second section to type: files. But now the second section label/heading/title in the Panel is “Section2”, and not the label: All images. Which doesn’t make sense to me because the first section is using the correct label.
sidebar:
width: 1/3
sections:
section1: #This is now a fields section, so ok
type: fields
fields:
portfolio_list_image:
label: Portfolio list image
type: files
required: true
max: 1
section2:
type: files # this is now supposed to be a files section, but a files section does'nt have fields!!
fields:
images_all:
label: All images
type: files
The second section should just be:
section2:
type: files
# stop or add other files section props as in the docs: https://getkirby.com/docs/reference/panel/sections/files#section-properties
Looking good! This seems to work. I have two sections clearly named. Each section has a type. The first fields the second files. Both have a label. Does this look good to you?