Issue Bug Closed

#72180field = backend_layout in bodyTagCObject not working

Patrick Lenk 12/11/15, 15:50 updated 12/14/15, 12:47

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.