fix: forms on pages TYPO3 13 renders itself can be submitted
The .form-island wrapper existed only in the form page type (/form), so on pages TYPO3 13 renders completely (e.g. the EP ambassador page) the form's hx-target="closest .form-island" found nothing and submitting did nothing. The island with its loading overlay now comes from the form plugin's template (Render.html), on full pages and in /form alike; the page type renders just the plugin again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f925c7f2d6
commit
62f3bee230
4 files changed
+33
-41
No files matched your search
@@ -4,6 +4,8 @@
|
||||
|
||||
plugin.tx_form.view {
|
||||
templateRootPaths.10 = EXT:ep_theme/Resources/Private/Templates/Form/
|
||||
# Spinner.html for Render.html
|
||||
partialRootPaths.10 = EXT:ep_theme/Resources/Private/Partials/Form/
|
||||
}
|
||||
|
||||
plugin.tx_form.settings.yamlConfigurations {
|
||||
|
||||
@@ -15,21 +15,15 @@ tx_eptheme_form {
|
||||
debug = 0
|
||||
}
|
||||
|
||||
10 = FLUIDTEMPLATE
|
||||
10 = CONTENT
|
||||
10 {
|
||||
templateName = Island
|
||||
templateRootPaths.0 = EXT:ep_theme/Resources/Private/Templates/Form/
|
||||
partialRootPaths.0 = EXT:ep_theme/Resources/Private/Partials/
|
||||
|
||||
variables.forms = CONTENT
|
||||
variables.forms {
|
||||
table = tt_content
|
||||
select {
|
||||
where = {#CType} = 'form_formframework'
|
||||
orderBy = sorting
|
||||
}
|
||||
# Only the plugin (Templates/Form/Render.html): header and frame stay on the static page
|
||||
renderObj =< tt_content.form_formframework.20
|
||||
table = tt_content
|
||||
select {
|
||||
where = {#CType} = 'form_formframework'
|
||||
orderBy = sorting
|
||||
}
|
||||
# Only the plugin (Templates/Form/Render.html, a .form-island): header and frame stay on
|
||||
# the static page
|
||||
renderObj =< tt_content.form_formframework.20
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user