Project

General

Profile

Actions

Bug #24124

closed

TCE forms incorrectly render optgroup tags with icons

Added by Bastian Waidelich about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-11-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TYPO3 allows us to specify an icon that is displayed in front of options in BE selectors (this is currently only supported by Mozilla based browsers AFAIK).
Additionally it's possible to group option tags by inserting a "---div---" item, resulting in a <optgroup> tag.
Unfortunately the styling of the optgroups is currently broken, which makes them unusable in Mozilla (See attached snapshots).

Put following lines around the registration of a plugin to your ext_tables:

$TCA['tt_content']['columns']['list_type']['config']['items'][] = array('group header', '--div--', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif');

// t3lib_extMgm::addPlugin(...);

$TCA['tt_content']['columns']['list_type']['config']['items'][] = array('', '--div--');

A proper support for optgroups would be especially useful in the plugin list which gets confusing with a lot of entries.

Background: we might add a new method to Extbase allowing you to register multiple plugins at once semantically grouping them together
(issue imported from #M16465)


Files

before.png (3.44 KB) before.png Administrator Admin, 2010-11-18 12:15
after.png (3.35 KB) after.png Administrator Admin, 2010-11-18 12:15
16465_tce_optgroup.patch (1.81 KB) 16465_tce_optgroup.patch Administrator Admin, 2010-11-18 12:16
Actions #1

Updated by Steffen Gebert almost 14 years ago

rev. 9850

Actions #2

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF