Task #70825
closed
Make default-language during a record-edit show name/flag
Added by Stefan Neufeind almost 9 years ago.
Updated almost 7 years ago.
Category:
Backend User Interface
Description
The default-language-details (name and icon) are not shown during a record-edit. They however appear correct in other places.
A special case is the "multiple"-flag which appears when "all" languages are selected. That flag should be displayed as well.
Currently the items for "[All]" (-1) and "Default" (0) are provided in TCA for tt_content. For "all" it is possible to add a third parameter "flags-multiple", as the third parameter specifies the icon to use. However for the default-language and especially the default-label that would not be an option.
Another thing is that item-configuration (and thus also a label and an icon) can be provided via pageTS with TCEFORM. That would be an option, since it would easily allow to copy the default-language name and icon. But it didn't work out for me. My values didn't end up in TCEFORM.
What if we'd not provide the values in TCA directly (-1 and 0) as well as through the foreign-table, but instead have them provided by an itemsProcFunc into the TCA? FormEngine already has a Provider to provide the necessary data for available languages (including name and icon) which we possibly might be able to make use of - EXT:backend/Classes/Form/FormDataProvider/DatabaseSystemLanguageRows.php
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/44146
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF