From 5aad13e635d2a25d9019b4c7c38555561ab6ec44 Mon Sep 17 00:00:00 2001 From: Oliver Rasche Date: Fri, 4 Sep 2026 13:21:50 +0200 Subject: [PATCH] Keep hidden headers (header_layout 100) out of the JSON Applied on all three render paths: stdWrap.if rule on lib.contentElementWithHeader (before the plugin copies), the same rule in the container element definitions, and a HiddenHeaderProcessor behind the nb content-blocks data processor. headerLayout itself stays in the payload so the front end can tell why the header is empty. --- .../DataProcessing/HiddenHeaderProcessor.php | 37 +++++++++++++++++++ .../Sets/Vitecset/setup.typoscript | 28 ++++++++++++++ .../Headless/vitec_containers.typoscript | 17 +++++++++ 3 files changed, 82 insertions(+) create mode 100644 packages/vitec/Classes/DataProcessing/HiddenHeaderProcessor.php diff --git a/packages/vitec/Classes/DataProcessing/HiddenHeaderProcessor.php b/packages/vitec/Classes/DataProcessing/HiddenHeaderProcessor.php new file mode 100644 index 0000000..b7ad67f --- /dev/null +++ b/packages/vitec/Classes/DataProcessing/HiddenHeaderProcessor.php @@ -0,0 +1,37 @@ +