-
Notifications
You must be signed in to change notification settings - Fork 214
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
Column labels don't get labels from locallang.xlf #1468
Comments
@anisiearadis for temporal workaround try with |
@jmverges I tried this now. It looks like something is happening now, but nothing gets show now. Only empty strings are displayed. |
I've had this problem when we've upgraded flux and fluidpages to dev versions from github. Adding my provider extension name to <flux:form extensionName=""> fixed that. Flux know where to look but don't have defaults? |
@anisiearadis Did you use Camelcase of underscore extension name. |
The right format for |
Starting with Flux 9, there's another reason why grid columns don't get locallang.xlf labels. To build the LLL path, So Flux looks for the label in |
I also do not have backend labelings with flux version >= 9 anymore. In earlier flux version < 9 that did work for me: Content HTML-File:
Language-File:
Has something changed we do not know? |
@Josta already identified the cause of the problem. A patch would have to fix the ViewHelper that creates the grid so it gets the Form as parent even if the Grid is defined outside the flux:form tag. If someone is willing to give that a try, that would be appreciated! |
Solved in |
This is not fixed in flux 9.5.0-13-g3cc50474 - see the demo in https://github.com/mogic-le/test_provider_extension/tree/test-column-label--flux-1468
The goal should be that the page layout specific key is used. Please re-open the issue. Problem seems to be that the column's root element is still the grid and not the form, despite my page layout's XML modifications. ( |
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. Resolves: FluidTYPO3#1468
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
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
Hi everyone,
I don't know if that is a bug or I'm missing something, but I hope it's ok to post this here. I have the following page setup:
EXT:linear/Resources/Private/Templates/Page/Standard.html
In my locallang.xlf I try to set the labels of the columns:
EXT:linear/Resources/Private/Language/locallang.xlf
I cleared all caches and reloaded the backend but the columns are labeled with the small written names defined in my page configuration. Shouldn't it display the names defined in my locallang.xlf?
EDIT:
I'm using TYPO3 8.7.8 and Flux 8.2.1
The text was updated successfully, but these errors were encountered: