update component

This commit is contained in:
2025-09-23 11:54:33 +02:00
parent a05b127a0e
commit 1960c1b68c
16 changed files with 1197 additions and 535 deletions

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<form>
<fields>
<field
name="path"
type="media"
label="File"
required="true"
preview="true"
types="documents"
directory="images/file"
/>
<field
name="title"
type="text"
label="Titolo"
required="false"
maxlength="190"
filter="string"
/>
</fields>
</form>

View File

@ -18,16 +18,17 @@
<field name="description" type="editor" label="COM_CIRCOLARI_FORM_LBL_CIRCOLARE_DESCRIPTION"
filter="safehtml" buttons="true" />
<field name="attachment" type="media" label="COM_CIRCOLARI_FORM_LBL_CIRCOLARE_ATTACHMENT"
directory="documents/circolari" preview="false" upload="true" />
<field
name="allegato_titolo"
type="text"
label="Titolo allegato"
description="Nome leggibile mostrato accanto al file allegato"
filter="string"
name="attachments"
type="subform"
label="Allegati"
description="Aggiungi uno o più allegati alla circolare"
formsource="administrator/components/com_circolari/forms/attachments.xml"
multiple="true"
layout="joomla.form.field.subform.repeatable-table"
/>
<field name="image" type="media" label="COM_CIRCOLARI_FORM_LBL_CIRCOLARE_IMAGE"
directory="images" preview="true" upload="true" />