packagebuilder icon indicating copy to clipboard operation
packagebuilder copied to clipboard

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

Open anglee72 opened this issue 6 years ago • 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?

anglee72 avatar Aug 11 '19 09:08 anglee72

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
    }
}

Godlike-Productions avatar Jul 19 '20 00:07 Godlike-Productions