Skip to content

Commit 1e030ba

Browse files
committed
[BUGFIX] Overwrite the default content element layout for export files to remove wrapper div
1 parent a290040 commit 1e030ba

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Configuration/TypoScript/Powermail_Frontend/setup.typoscript

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,12 @@ powermail_frontend_rss {
114114
}
115115

116116
[getTSFE().type == 31311 || getTSFE().type == 31312 || getTSFE().type == 31319]
117-
# we don't want the wrapper div in our export files
118-
tt_content.stdWrap.innerWrap >
117+
# overwrite the default content element layout, because we don't want the wrapper div in our export files
118+
tt_content.list {
119+
layoutRootPaths {
120+
99 = EXT:powermail/Resources/Private/Layouts/ContentElements/Export/
121+
}
122+
}
119123
[end]
120124

121125

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<f:spaceless>
2+
3+
<f:comment>
4+
Overwrite the default content element layout for export files to remove the wrapper div
5+
</f:comment>
6+
7+
<f:render section="Main" optional="true" />
8+
</f:spaceless>

0 commit comments

Comments
 (0)