Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anglee72 opened this issue Aug 11, 2019 · 1 comment

Comments

@anglee72
Copy link

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?

@Godlike-Productions
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants