From 4597e9654559c492b1aef058870e6f40030bb22f Mon Sep 17 00:00:00 2001 From: Arne Weiss Date: Mon, 1 Jun 2026 09:56:25 +0200 Subject: [PATCH] Fix layout: add Smarty template inheritance for Hummingbird theme Hummingbird (PS8) requires module front controller templates to explicitly extend a layout via {extends}. Without it, the template renders as a bare HTML fragment without the theme wrapper (no header, CSS, nav, footer). All three front templates now extend layouts/layout-full-width.tpl and define their content inside {block name='content'}. Co-Authored-By: Claude Sonnet 4.6 --- views/templates/front/confirm.tpl | 6 +++++- views/templates/front/form.tpl | 6 +++++- views/templates/front/success.tpl | 12 ++++++++---- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/views/templates/front/confirm.tpl b/views/templates/front/confirm.tpl index eedc841..2e2d72d 100644 --- a/views/templates/front/confirm.tpl +++ b/views/templates/front/confirm.tpl @@ -1,3 +1,6 @@ +{extends file='layouts/layout-full-width.tpl'} + +{block name='content'}
+{/block} diff --git a/views/templates/front/form.tpl b/views/templates/front/form.tpl index 8046957..b2a632c 100644 --- a/views/templates/front/form.tpl +++ b/views/templates/front/form.tpl @@ -1,3 +1,6 @@ +{extends file='layouts/layout-full-width.tpl'} + +{block name='content'}