Skip to content

[FEATURE] Allow disabling the container backend template - #762

Merged
achimfritz merged 1 commit into
masterfrom
feature/backend-template
Aug 7, 2026
Merged

[FEATURE] Allow disabling the container backend template#762
achimfritz merged 1 commit into
masterfrom
feature/backend-template

Conversation

@achimfritz

Copy link
Copy Markdown
Contributor

setBackendTemplate() now accepts null, and disableBackendTemplate() is a shortcut for it. When disabled, Registry no longer registers mod.web_layout.tt_content.preview. PageTSconfig for that CType, so another preview mechanism (e.g. b13/backendpreviews) can take over instead of the built-in backend template.

setBackendTemplate() now accepts null, and disableBackendTemplate()
is a shortcut for it. When disabled, Registry no longer registers
mod.web_layout.tt_content.preview.<CType> PageTSconfig for that CType,
so another preview mechanism (e.g. b13/backendpreviews) can take over
instead of the built-in backend template.
@achimfritz
achimfritz force-pushed the feature/backend-template branch from 1c77b23 to 3b6337c Compare August 7, 2026 05:52
@achimfritz
achimfritz requested a review from jschlier August 7, 2026 08:07
@achimfritz
achimfritz merged commit 08b45b2 into master Aug 7, 2026
10 of 33 checks passed
@achimfritz
achimfritz deleted the feature/backend-template branch August 7, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants