From 5fb93d2e0d0cadf2124cae6a77838d0abb4c7a55 Mon Sep 17 00:00:00 2001 From: Christian Mette <13376233+cmette@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:18:33 +0100 Subject: [PATCH 1/6] Update maintenance-template.de.md Added a minor change regarding the template path in Contao 5.7. --- docs/manual/guides/maintenance-template.de.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/manual/guides/maintenance-template.de.md b/docs/manual/guides/maintenance-template.de.md index 733eacd1d..84e30b452 100644 --- a/docs/manual/guides/maintenance-template.de.md +++ b/docs/manual/guides/maintenance-template.de.md @@ -90,7 +90,9 @@ Wird die komplette Contao-Installation über die Kommandozeile in den Wartungsmo Das machen wir in diesem Beispiel für alle Errortemplates. Für eine updatesichere Anpassung kopieren wir uns das Originaltemplate `vendor/contao/core-bundle/src/Resources/views/Error/layout.html.twig` nach `/templates/bundles/ContaoCoreBundle/Error/` -{{< version-tag "5.1" >}} befindet sich das Originaltemplate unter `vendor/contao/core-bundle/templates/Error/layout.html.twig` +{{< version-tag "5.1" >}} befindet sich das Originaltemplate unter `vendor/contao/core-bundle/templates/Error/layout.html.twig`. + +{{< version-tag "5.7" >}} muss das Template nach `/templates/error/` kopiert werden. Dort setzen wir unser eigenes Logo innerhalb des DIV's mit der Klasse `header-logo` ein. Du kannst dafür ein normales image-Tag verwenden oder wie im Originaltemplate ein Inline-SVG. @@ -124,4 +126,6 @@ Weitere Informationen zur Anpassung von Twigtemplates findest du in der [Twig-Do Anstatt nur einzelne Texte anzupassen, kannst du auch einfach das komplette Template `service_unavailable.html.twig` mit deinem eigenen HTML und CSS überschreiben. Damit das ganze updatesicher ist, musst du die Datei in den Ordner `/templates/bundles/ContaoCoreBundle/Error/` speichern. +{{< version-tag "5.7" >}} muss das Template nach `/templates/error/` kopiert werden. + Zum Schluss muss auch hier der Produktions-Cache erneuert werden. From b5e8a763ec7ada5e09ca68b4ad535d986b168526 Mon Sep 17 00:00:00 2001 From: Christian Mette <13376233+cmette@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:21:10 +0100 Subject: [PATCH 2/6] Update maintenance-template.en.md Added a minor change regarding the template path in Contao 5.7. --- docs/manual/guides/maintenance-template.en.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/manual/guides/maintenance-template.en.md b/docs/manual/guides/maintenance-template.en.md index 402f39098..c87af7115 100644 --- a/docs/manual/guides/maintenance-template.en.md +++ b/docs/manual/guides/maintenance-template.en.md @@ -89,7 +89,9 @@ When the complete Contao installation is put into maintenance mode via the comma In this example we do this for all error templates. For an update-safe adaptation we copy the original template `vendor/contao/core-bundle/src/Resources/views/Error/layout.html.twig` to `/templates/bundles/ContaoCoreBundle/Error/`. -{{< version-tag "5.1" >}} the original template is located at `vendor/contao/core-bundle/templates/Error/layout.html.twig` +{{< version-tag "5.1" >}} the original template is located at `vendor/contao/core-bundle/templates/Error/layout.html.twig`. + +{{< version-tag "5.7" >}}, the template must be copied to `/templates/error/`. There we put our own logo inside the DIV with the class `header-logo`. You can use a normal image tag for this or an inline SVG like in the original template. @@ -123,4 +125,6 @@ For more information about customizing Twig templates, please refer to the [Twig Instead of just changing some texts, you can simply overwrite the whole template `service_unavailable.html.twig` with your own HTML and CSS. To make the whole thing update-safe, you have to save the file in the folder `/templates/bundles/ContaoCoreBundle/Error/`. +{{< version-tag "5.7" >}}, the template must be copied to `/templates/error/`. + Finally you have to refresh the production cache. From be7ba7c02748035d40456fd3ed2ac021636f1146 Mon Sep 17 00:00:00 2001 From: Christian Mette <13376233+cmette@users.noreply.github.com> Date: Thu, 26 Mar 2026 15:42:07 +0100 Subject: [PATCH 3/6] Update docs/manual/guides/maintenance-template.de.md Co-authored-by: Fritz Michael Gschwantner --- docs/manual/guides/maintenance-template.de.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manual/guides/maintenance-template.de.md b/docs/manual/guides/maintenance-template.de.md index 84e30b452..bbc206c0c 100644 --- a/docs/manual/guides/maintenance-template.de.md +++ b/docs/manual/guides/maintenance-template.de.md @@ -92,7 +92,7 @@ Das machen wir in diesem Beispiel für alle Errortemplates. Für eine updatesich {{< version-tag "5.1" >}} befindet sich das Originaltemplate unter `vendor/contao/core-bundle/templates/Error/layout.html.twig`. -{{< version-tag "5.7" >}} muss das Template nach `/templates/error/` kopiert werden. +{{< version-tag "5.5" >}} muss das Template nach `/templates/error/` kopiert werden. Dort setzen wir unser eigenes Logo innerhalb des DIV's mit der Klasse `header-logo` ein. Du kannst dafür ein normales image-Tag verwenden oder wie im Originaltemplate ein Inline-SVG. From 039ee5940e4ae3cb97aac2f5251142ecd281b381 Mon Sep 17 00:00:00 2001 From: Christian Mette <13376233+cmette@users.noreply.github.com> Date: Thu, 26 Mar 2026 15:42:15 +0100 Subject: [PATCH 4/6] Update docs/manual/guides/maintenance-template.de.md Co-authored-by: Fritz Michael Gschwantner --- docs/manual/guides/maintenance-template.de.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manual/guides/maintenance-template.de.md b/docs/manual/guides/maintenance-template.de.md index bbc206c0c..516be595a 100644 --- a/docs/manual/guides/maintenance-template.de.md +++ b/docs/manual/guides/maintenance-template.de.md @@ -126,6 +126,6 @@ Weitere Informationen zur Anpassung von Twigtemplates findest du in der [Twig-Do Anstatt nur einzelne Texte anzupassen, kannst du auch einfach das komplette Template `service_unavailable.html.twig` mit deinem eigenen HTML und CSS überschreiben. Damit das ganze updatesicher ist, musst du die Datei in den Ordner `/templates/bundles/ContaoCoreBundle/Error/` speichern. -{{< version-tag "5.7" >}} muss das Template nach `/templates/error/` kopiert werden. +{{< version-tag "5.5" >}} muss das Template nach `/templates/error/` kopiert werden. Zum Schluss muss auch hier der Produktions-Cache erneuert werden. From 77484ac140dc74c248fa20ca6fda69192c9e45bb Mon Sep 17 00:00:00 2001 From: Christian Mette <13376233+cmette@users.noreply.github.com> Date: Thu, 26 Mar 2026 15:43:05 +0100 Subject: [PATCH 5/6] Update docs/manual/guides/maintenance-template.en.md Co-authored-by: Fritz Michael Gschwantner --- docs/manual/guides/maintenance-template.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manual/guides/maintenance-template.en.md b/docs/manual/guides/maintenance-template.en.md index c87af7115..c146b17ca 100644 --- a/docs/manual/guides/maintenance-template.en.md +++ b/docs/manual/guides/maintenance-template.en.md @@ -91,7 +91,7 @@ In this example we do this for all error templates. For an update-safe adaptatio {{< version-tag "5.1" >}} the original template is located at `vendor/contao/core-bundle/templates/Error/layout.html.twig`. -{{< version-tag "5.7" >}}, the template must be copied to `/templates/error/`. +{{< version-tag "5.5" >}}, the template must be copied to `/templates/error/`. There we put our own logo inside the DIV with the class `header-logo`. You can use a normal image tag for this or an inline SVG like in the original template. From 40c9b58ac76aaa662f6c41f720eb953e62ef62e2 Mon Sep 17 00:00:00 2001 From: Christian Mette <13376233+cmette@users.noreply.github.com> Date: Thu, 26 Mar 2026 15:43:12 +0100 Subject: [PATCH 6/6] Update docs/manual/guides/maintenance-template.en.md Co-authored-by: Fritz Michael Gschwantner --- docs/manual/guides/maintenance-template.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manual/guides/maintenance-template.en.md b/docs/manual/guides/maintenance-template.en.md index c146b17ca..6062ce6fa 100644 --- a/docs/manual/guides/maintenance-template.en.md +++ b/docs/manual/guides/maintenance-template.en.md @@ -125,6 +125,6 @@ For more information about customizing Twig templates, please refer to the [Twig Instead of just changing some texts, you can simply overwrite the whole template `service_unavailable.html.twig` with your own HTML and CSS. To make the whole thing update-safe, you have to save the file in the folder `/templates/bundles/ContaoCoreBundle/Error/`. -{{< version-tag "5.7" >}}, the template must be copied to `/templates/error/`. +{{< version-tag "5.5" >}}, the template must be copied to `/templates/error/`. Finally you have to refresh the production cache.