Issue Bug Closed

#43708leveluid with slide doesn't work across multiple levels

Jochen Weiland 12/07/12, 11:18 updated 08/06/15, 18:00

Description

We use the following TypoScript code to display a header image from a page up in the root path when there is no image on the current page:

temp.headerimage = FILES
temp.headerimage {
  references {
    table = pages
    uid.data = leveluid:-2, slide
    fieldName = media
  }
  renderObj = COA
  renderObj {
    10 = IMAGE
    10 {
      file.import.data = file:current:publicUrl
    }
  }
}

This works only if the image is one level up from the current page, but not for 2 or more levels.

Reviews 0

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