Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit d30b0ad

Browse files
committed
backported fix for custom theme-specific block templates
1 parent 69c634e commit d30b0ad

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG-2.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ CHANGELOG - ZIKULA 2.0.x
88
- Disclosure of uploaded files full path (CVE-2018-19789).
99
- Open Redirect Vulnerability when using Security\Http (CVE-2018-19790).
1010

11+
- Fixes:
12+
- Fixed broken support for custom block templates in themes.
13+
1114
- Vendor updates:
1215
- composer/ca-bundle updated from 1.1.2 to 1.1.3
1316
- composer/installers updated from 1.5.0 to 1.6.0

src/system/ThemeModule/Engine/Engine.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ public function wrapResponseInTheme(Response $response)
136136
*/
137137
public function wrapBlockContentInTheme($content, $title, $blockType, $bid, $positionName)
138138
{
139+
$content = $this->getTheme()->generateThemedBlockContent($this->getRealm(), $positionName, $content, $title);
140+
139141
$themeConfig = $this->getTheme()->getConfig();
140142
$wrap = isset($themeConfig['blockWrapping']) ? $themeConfig['blockWrapping'] : true;
141143

0 commit comments

Comments
 (0)