Bug #72517
closedImage-based selection is broken
0%
Description
Until TYPO3 6.2 it was possible to define an image for items in a "select" (documentation: https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#items).
This was used e.g., in EXT:ig_ldap_sso_auth to ease the configuration of whether, in a LDAP directory, groups assigned to a user are stored within the user record ("user is member of groups X, Y and Z") or if the corresponding groups hold their users ("group is composed of users A, B, C and D").
Visually, in 6.2:
and in 7:
In short, the problem is that starting with TYPO3 7 LTS, the icon is tiny and only visible for the current selection whereas in 6.2 it was shown full sized under the list and was clickable, which made sense to define icons and eased the configuration a lot by allowing quick selection to be made among a (typically) short list of options.
This example in EXT:ig_ldap_sso_auth shows that the new rendering totally breaks the usefulness of this previous feature.
Files
Updated by Christian Kuhn almost 9 years ago
The whole icon mess was changed between 6.2 and 7, the negative "noFoo" options vanished and better defaults are in place. The new options can not be transferred from old options in 100% of the cases because of the default changes, though. Especially, the "icons below" may vanish after upgrading.
Please set "showIconTable" => true in your TCA config and they should re-appear.
You should find a entry in your deprecation log, too.
Updated by Christian Kuhn almost 9 years ago
- Status changed from New to Needs Feedback
Updated by Xavier Perseguers almost 9 years ago
- Status changed from Needs Feedback to Rejected
In fact! Thanks for pointing out.