Files
grzanieplus.pl/plugins/stOpenGraphPlugin/modules/stOpenGraphBackend/config/generator.yml
2025-03-12 17:06:23 +01:00

23 lines
1.3 KiB
YAML

generator:
class: stAdminGenerator
param:
model_class: false
theme: simple
title: "Open Graph"
route: "@stOpenGraphBackend"
icon: "stOpenGraphPlugin"
documentation:
pl: https://www.sote.pl/docs/open-graph
en: https://www.soteshop.com/docs/open-graph
config:
title: Konfiguracja
display:
"Strona główna": [image, title, text]
fields:
image: {name: "Zdjęcie promujące sklep", type: st_admin_input_file_tag, width: 320, params: "upload_dir=ogimage image=true allow_remove=true filename=page-ogimage with_upload_dir=true", help: "Minimalny rozmiar: 200x200px. Zalecany rozmiar: 600x315px lub 1200x630px.", is_i18n: true}
title: {name: Tytuł promujący sklep, params: size=80}
text: {name: Treść nagłówka bloga, type: textarea_tag, params: rich=false tinymce_options="height:100,width:'100%'" disabled=false, help: 'Opis promujący sklep' , is_i18n: true }