mod.wizards.newContentElement.wizardItems {
  // add the content element to the tab "common"
  azhOrders {
    show := addToList(azhOrders_component,azhorders_startinfo,azhorders_overview,azhorders_iknumber,azhorders_personaldata,azhorders_payment)
    header = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:azhOrders_tab
    elements {
      azhOrders_component {
        iconIdentifier = content-card
        title = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.component.title
        description = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.component.description
        tt_content_defValues {
          CType = azhorders_component
        }
      }

      azhorders_startinfo {
        iconIdentifier = content-card
        title = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.startInfo.title
        description = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.startInfo.description
        tt_content_defValues {
          CType = azhorders_startinfo
        }
      }

      azhorders_overview {
        iconIdentifier = content-card
        title = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.overview.title
        description = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.overview.description
        tt_content_defValues {
          CType = azhorders_overview
        }
      }

      azhorders_iknumber {
        iconIdentifier = content-card
        title = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.ikNumber.title
        description = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.ikNumber.description
        tt_content_defValues {
          CType = azhorders_iknumber
        }
      }

      azhorders_personaldata {
        iconIdentifier = content-card
        title = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.personalData.title
        description = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.personalData.description
        tt_content_defValues {
          CType = azhorders_personaldata
        }
      }

      azhorders_payment {
        iconIdentifier = content-card
        title = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.payment.title
        description = LLL:EXT:azh_orders/Resources/Private/Language/locallang_db.xlf:plugin.payment.description
        tt_content_defValues {
          CType = azhorders_payment
        }
      }
    }
  }
}

mod.web_layout.BackendLayouts {
  azhorders {
    title = Bestellstrecke
    config {
      backend_layout {
        colCount = 4
        rowCount = 4
        rows {
          1 {
            columns {
              1 {
                name = Hero / Oberhalb Breadcrumb ColPos=1
                colPos = 1
                colspan = 4
                disallowed {
                  CType = *
                }

                allowed {
                  CType = hero,hero-noventi
                }
              }
            }
          }

          3 {
            columns {
              1 {
                name = Wird gefüllt mit Navigation
                colPos = 99
                colspan = 1
                maxitem = 0
                readOnly = 1
                allowNewContent = 0
                disallowed {
                  CType = *
                }
              }

              2 {
                name = Rechte Spalte ColPos=0
                colPos = 0
                colspan = 3
                allowed {
                  CType = bestellstreckeStep
                }
              }
            }
          }

          4 {
            columns {
              1 {
                name = Footer / Wide Content ColPos=5
                colPos = 5
                colspan = 4
                disallowed {
                  CType = c-tab,c-infobox
                }
              }
            }
          }
        }
      }
    }
  }
}

#text_media,text,azhorders_component,azhorders_overview,azhorders_iknumber,azhorders_personaldata,azhorders_payment
TCEFORM {
  tt_content {
    layout {
      types {
        azhorders_component.disabled = 1
        azhorders_overview.disabled = 1
        azhorders_iknumber.disabled = 1
        azhorders_personaldata.disabled = 1
        azhorders_payment.disabled = 1
      }
    }

    frame_class {
      types {
        azhorders_component.disabled = 1
        azhorders_overview.disabled = 1
        azhorders_iknumber.disabled = 1
        azhorders_personaldata.disabled = 1
        azhorders_payment.disabled = 1
      }
    }

    bg_image {
      types {
        azhorders_component.disabled = 1
        azhorders_overview.disabled = 1
        azhorders_iknumber.disabled = 1
        azhorders_personaldata.disabled = 1
        azhorders_payment.disabled = 1
      }
    }

    bg_color {
      types {
        azhorders_component.disabled = 1
        azhorders_overview.disabled = 1
        azhorders_iknumber.disabled = 1
        azhorders_personaldata.disabled = 1
        azhorders_payment.disabled = 1
      }
    }

    header_layout {
      types {
        azhorders_component.removeItems = h1
        azhorders_overview.removeItems = h1
        azhorders_iknumber.removeItems = h1
        azhorders_personaldata.removeItems = h1
        azhorders_payment.removeItems = h1
      }
    }
  }
}

