
footer {
  logo = {$footer.logo}
  logoHighContrast = {$footer.logoHighContrast}
  layout = {$footer.layout}
  contentPageId = {$footer.contentPageId}
  copyright = {$footer.copyright}
  creditsEnabled = {$footer.creditsEnabled}
  credits = {$footer.credits}
  callToAction = {$footer.callToAction}
}

["{$footer.contentPageId}" != ""]
  footer {
    content = CONTENT
    content {
      table = tt_content
      select {
        orderBy = sorting
        pidInList = {$footer.contentPageId}
        where = {#colPos}=0
        where.insertData = 1
      }
    }
  }
[end]
