From c93e8f4211916a902f02e92dbc3c4b636fb49af1 Mon Sep 17 00:00:00 2001 From: Brandon Mercier <113701731+bram-odoo@users.noreply.github.com> Date: Tue, 27 May 2025 07:06:56 +0000 Subject: [PATCH] [IMP] howto/website: Layout - Header/Footer templates closes odoo/documentation#13570 X-original-commit: 3fded9a3793036f542942218679ead4fa876a263 Signed-off-by: Antoine Vandevenne (anv) Signed-off-by: Brandon Mercier (bram) --- .../howtos/website_themes/layout.rst | 43 +++++++------------ 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/content/developer/howtos/website_themes/layout.rst b/content/developer/howtos/website_themes/layout.rst index c3216ebae..bd09f045b 100644 --- a/content/developer/howtos/website_themes/layout.rst +++ b/content/developer/howtos/website_themes/layout.rst @@ -434,7 +434,8 @@ Custom Create your own template and add it to the list. .. important:: - Don't forget that you may need to disable the active header template first. + Don't forget that you may need to disable the active header template first before enabling the + custom one. **Option** @@ -482,20 +483,13 @@ variables. .. code-block:: xml :caption: ``/website_airproof/views/website_templates.xml`` - - Airproof Header - qweb - website_airproof.header - - extension - - - - - - - - + Don't forget to adapt the `template_header_mobile` accordingly to keep consistency between desktop and mobile: @@ -691,19 +685,12 @@ active footer template first. .. code-block:: xml :caption: ``/website_airproof/views/website_templates.xml`` - - Airproof Footer - qweb - website_airproof.footer - - extension - - - - - +