benjaminkott/packagebuilder

Overwrite Labels of Pages Appearance Layout [layout] via TCEFORM.tsconfig file

anglee72 opened this issue · 1 comments

Hello, when I try to overwrite the labels of the FE [layout] in the pages appearance tab, the dynamic generated BE layouts [backend_layout] are no longer loaded.

Configuration/TsConfig/Page/TCEFORM.tsconfig:

TCEFORM.pages {
  layout {
    label = Choose Your Layout
	removeItems = 2,3
	altLabels {
      0 = The First Layout
      1 = The Second Layout
    }
}

Is there a way to overwrite the labels?

This is how I did it.

#
# TCEFORM
#
TCEFORM {
    pages {

    }
    tt_content {
        
        layout.keepItems = 0
        layout.addItems.1 = Releases
        layout.addItems.2 = Sites
        layout.addItems.3 = Store
        #filelink_size.value = 1
        #uploads_descripition.value = 1
    }
}