Actions
Bug #72180
closedfield = backend_layout in bodyTagCObject not working
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2015-12-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
I add depending on the backend layout fiels classes to the body tag.
page.bodyTagCObject = COA page.bodyTagCObject{ 10 = COA 10{ 10 = TEXT 10{ if { value = 22 isInList.data = levelfield:-2,backend_layout_next_level,slide isInList.override.data = TSFE:page|backend_layout } value = pageDefault stdWrap.noTrimWrap = | || } ... ... ... }
if i replace
isInList.data = levelfield:-2,backend_layout_next_level,slide isInList.override.data = TSFE:page|backend_layout
with
field = backend_layout
the condition is not working and all classes are rendered.
Updated by Morton Jonuschat almost 9 years ago
- Description updated (diff)
- Target version deleted (
7.6.1)
Updated by Georg Ringer almost 9 years ago
- Status changed from New to Needs Feedback
is the field backend_layout of the current page really selected?
anyhow, since version 7, you can use
data = pagelayout
please check if this is fine for you.
Updated by Patrick Lenk almost 9 years ago
ok its better to read the What’s New docs. All works great. sorry
Updated by Wouter Wolters almost 9 years ago
- Status changed from Needs Feedback to Closed
Actions