From 666bc78dab4d47ca268bcf1579a12e523123f908 Mon Sep 17 00:00:00 2001 From: Giuseppe Fabiano Date: Tue, 6 May 2025 16:56:23 +0200 Subject: [PATCH] Recipe per contact-bundle --- index.json | 3 ++ webindustry.contact-bundle.2.0.json | 44 +++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 webindustry.contact-bundle.2.0.json diff --git a/index.json b/index.json index 8c973b1..25997a4 100644 --- a/index.json +++ b/index.json @@ -1,5 +1,8 @@ { "recipes": { + "webindustry/contact-bundle": [ + "2.0" + ], "webindustry/redirector-bundle": [ "2.0" ], diff --git a/webindustry.contact-bundle.2.0.json b/webindustry.contact-bundle.2.0.json new file mode 100644 index 0000000..eb56025 --- /dev/null +++ b/webindustry.contact-bundle.2.0.json @@ -0,0 +1,44 @@ +{ + "manifests": { + "webindustry/contact-bundle": { + "manifest": { + "bundles": { + "ContactBundle\\ContactBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%" + } + }, + "files": { + "config/packages/contact-bundle.yaml": { + "contents": [ + "contact:", + " attachments_base_path: '%kernel.project_dir%/var/contact-bundle/attachments'", + " attachments_max_size_mb: 1", + " images_base_path: '%kernel.project_dir%/var/contact-bundle/images'", + " images_max_size_mb: 1", + " sender_email_default_subject: Conferma ricezione richiesta", + " sender_email_default_from: noreply@example.com", + " sender_email_base_template: email/email_base.html.twig", + " backoffice_email_default_subject: Nuova richiesta di contatto", + " backoffice_email_default_from: noreply@example.com", + " backoffice_email_base_template: email/email_base.html.twig", + " backoffice_email_redirect_class:", + " backoffice_email_redirect_rules:", + " form_datasource_class:", + " form_datasources:", + " post_function_class:", + " post_functions:", + " #scopes:", + " # - {id: 'alpha', label: 'Sito alpha.com'}", + " # - {id: 'bravo', label: 'Sito bravo.com'}" + ], + "executable": false + } + }, + "ref": "b4fa853b709a622db85fb409cff7013cb5d098d6" + } + } +}