Project

General

Profile

Actions

Feature #17615

closed

Integrate possibility to override TCA columns depending on the type by another TCA property

Added by Oliver Hader about 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-09-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

Currently it's possible to override field properties of existing TCA columns by using Page TSconfig. Settings, depending on the type of a record, can be overridden if that property was allowed to be overridden.

This issue is concerning the possibility to do basically the same, but in TCA (not in Page TSconfig) and also for properties that were not allowed to be overridden.

The following example re-uses the image field of tt_content and defines that only one image could be added:
$TCA['tt_content']['types'][$_EXTKEY.'_pi1']['overrideColumns'] = array(
'image' => array('config' => array('maxitems' => 1)),
);

(issue imported from #M6365)


Files

0006365.patch (10.4 KB) 0006365.patch Administrator Admin, 2007-09-18 19:41
Actions

Also available in: Atom PDF