Project

General

Profile

Actions

Bug #72517

closed

Image-based selection is broken

Added by Xavier Perseguers almost 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-01-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

selection_typo3_62.png (31 KB) selection_typo3_62.png Xavier Perseguers, 2016-01-04 06:30
selection_typo3_76.png (20.7 KB) selection_typo3_76.png Xavier Perseguers, 2016-01-04 06:30
Actions #1

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.

Actions #2

Updated by Christian Kuhn almost 9 years ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by Xavier Perseguers almost 9 years ago

  • Status changed from Needs Feedback to Rejected

In fact! Thanks for pointing out.

Actions

Also available in: Atom PDF