Hi there,
I tried to enable the “Change Template” Option for my Files-Section, but it doesn’t work.
Here is my yaml code:
sections:
sitemedia:
type: files
layout: cards
size: medium
info: "Template: {{ file.template }} <br /> {{ file.dimensions.width }} x {{ file.dimensions.height }} px <br /> {{ file.niceSize }}"
search: true
limit: 60
sortable: true
I already considered checking my roles (It’s not even working with Admin), checking that I have multiple files blueprints and checking my files blueprints settings.
Here’s an example for one files blueprint:
title:
en: Images
de: Bilder
# options
options:
changeName: true
changeTemplate: true
delete: true
read: true
replace: true
update: true
# settings
image:
back: pattern
accept:
extension: jpg, jpeg, png
focus: false
# fields
fields:
alt:
label:
en: Alt
de: Alt-Text
type: text
icon: wheelchair
width: 1/2
What am I doing wrong?