Define “nothing happened”. Is the section showing on the page but its empty and you know the page has files? This could be down to using a file meta template that hasnt been set on the files section.
I think its down to your indention. Yaml is sensitive to white space, and being just one charachter out can make stuff not show up. You shouldnt have a - in there either, on the column widths. Here is a columns example…
The problem is that you are trying to have a section below a field. That doesn’t work.To have fields and sections in a single columns, you need both a fields and a pages section.
- width: 1/2
sections: # here come the sections
fields: # a fields section
type: fields
fields:
mediacustomer:
label: Kundenlogos
type: files
template: image
allfiles: # a files section
headline: Dateien
type: files
template: image