Today while upgrading one of my Kirby websites I noticed invisible files in default files section. I will try to explain what I mean.
I downloaded the latest plainkit and created two simple files sections:
default_files:
type: files
template: default
image_files:
type: files
template: image
And two corresponding file blueprints:
# blueprints/files/default.yml
# Does not necessarily have to be limited to document. I tried it without "accept" option too
title: "Default template"
accept:
type: document
# blueprint/files/image.yml
title: "Image template"
accept:
type: image
Now, I can upload files without any issue. Even the file type restrictions (if set) work as expected. But after uploading any file to the default_files section, nothing is displayed. The file uploads correctly, but somehow the section does not show it. And I cant figure out what is wrong.