From dcc90afe744e874459a8f5ad4a32d1b7a25c74b8 Mon Sep 17 00:00:00 2001 From: Balbinder Sumbria Date: Mon, 11 Nov 2024 09:38:40 -0500 Subject: [PATCH] Override core view templates --- docs/themes/system.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/themes/system.rst b/docs/themes/system.rst index 29abeaca..77a5c6ac 100644 --- a/docs/themes/system.rst +++ b/docs/themes/system.rst @@ -3,6 +3,6 @@ Overriding core view templates You can override any view's template in Mautic by creating a ``themes/system`` directory, copying the core template file into a corresponding directory and customizing the HTML. -For example, to customize the login page, copy ``app/bundles/UserBundle/Views/Security/login.html.php`` into ``themes/system/MauticUserBundle/Security/login.html.php`` then make the desired changes. +For example, to customize the login page, copy ``app/bundles/UserBundle/Resources/views/Security/login.html.twig`` into ``themes/system/UserBundle/Resources/views/Security/login.html.twig`` then make the desired changes. .. Warning:: Customizations may break Mautic updates core templates in future versions. It's best practice to review and reconcile customizations with core templates after each upgrade. \ No newline at end of file