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

[BUGFIX] Use page layout specific column labels #1919

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Commits on May 6, 2022

  1. [BUGFIX] Use page layout specific column labels

    Labels of columns in page layouts were only translatable with the generic
    non-specific key "flux.grid.columns.$columnName".
    
    This patch sets the page layout's grid parent object to be the page layout's form,
    so that the resolved parent ID is that of the form.
    
    A column named "one" within a page layout with id "twocol" will thus get
    the label key "flux.twocol.columns.one", just as it was for flux 8.
    
    If the backend layout cannot be found because the page template file does
    not exist anymore, we need to return NULL from buildBackendLayout()
    to get a proper error message.
    
    Resolves: FluidTYPO3#1468
    cweiske committed May 6, 2022
    Configuration menu
    Copy the full SHA
    461b9f2 View commit details
    Browse the repository at this point in the history