|
@@ -18,13 +18,13 @@
|
|
|
# TODO: Réflechir à un système pour pouvoir afficher un message sur tous les minisites, type 'Maintenance prévue le...' ou autre
|
|
# TODO: Réflechir à un système pour pouvoir afficher un message sur tous les minisites, type 'Maintenance prévue le...' ou autre
|
|
|
|
|
|
|
|
## DEBUG MODE: tout commenter pour la prod ##
|
|
## DEBUG MODE: tout commenter pour la prod ##
|
|
|
-config.debug = 0
|
|
|
|
|
-config.contentObjectExceptionHandler = 1
|
|
|
|
|
-config.no_cache = 0
|
|
|
|
|
-config.admPanel = 0
|
|
|
|
|
-
|
|
|
|
|
-plugin.tx_vhs.settings.debug = 0
|
|
|
|
|
-plugin.tx_vhs.settings.asset.debug = 0
|
|
|
|
|
|
|
+#config.debug = 1
|
|
|
|
|
+#config.contentObjectExceptionHandler = 0
|
|
|
|
|
+#config.no_cache = 1
|
|
|
|
|
+#config.admPanel = 0
|
|
|
|
|
+#
|
|
|
|
|
+#plugin.tx_vhs.settings.debug = 0
|
|
|
|
|
+#plugin.tx_vhs.settings.asset.debug = 0
|
|
|
####
|
|
####
|
|
|
|
|
|
|
|
# **** Configuration générale ****
|
|
# **** Configuration générale ****
|
|
@@ -120,6 +120,7 @@ plugin.tx_ottemplating {
|
|
|
# * Form extension
|
|
# * Form extension
|
|
|
# @see https://docs.typo3.org/c/typo3/cms-form/9.5/en-us/Introduction/Index.html
|
|
# @see https://docs.typo3.org/c/typo3/cms-form/9.5/en-us/Introduction/Index.html
|
|
|
|
|
|
|
|
|
|
+# -- BE integration
|
|
|
module.tx_form {
|
|
module.tx_form {
|
|
|
settings {
|
|
settings {
|
|
|
yamlConfigurations {
|
|
yamlConfigurations {
|
|
@@ -127,13 +128,15 @@ module.tx_form {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+# -- FE integration
|
|
|
plugin.tx_form {
|
|
plugin.tx_form {
|
|
|
settings {
|
|
settings {
|
|
|
yamlConfigurations {
|
|
yamlConfigurations {
|
|
|
100 = EXT:ot_templating/Configuration/Form/CustomFormSetup.yaml
|
|
100 = EXT:ot_templating/Configuration/Form/CustomFormSetup.yaml
|
|
|
}
|
|
}
|
|
|
formDefinitionOverrides {
|
|
formDefinitionOverrides {
|
|
|
- Contact {
|
|
|
|
|
|
|
+ ContactForm {
|
|
|
finishers {
|
|
finishers {
|
|
|
0 {
|
|
0 {
|
|
|
options {
|
|
options {
|
|
@@ -146,4 +149,16 @@ plugin.tx_form {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+lib.tx_ottemplating.widgets.contact = USER_INT
|
|
|
|
|
+lib.tx_ottemplating.widgets.contact {
|
|
|
|
|
+ userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
|
|
|
|
|
+ extensionName = Form
|
|
|
|
|
+ pluginName = Formframework
|
|
|
|
|
+ vendorName = TYPO3\CMS
|
|
|
|
|
+ switchableControllerActions {
|
|
|
|
|
+ FormFrontend {
|
|
|
|
|
+ 1 = perform
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ settings.persistenceIdentifier = EXT:ot_templating/Resources/Private/Forms/Contact.form.yaml
|
|
|
|
|
+}
|