[TYPO3-core] RFC: Feature #15988: Refactor TCA definitions of table pages
Susanne Moog
info at susannemoog.de
Fri Oct 15 14:38:43 CEST 2010
On 15.10.2010 14:10, Oliver Hader wrote:
> Hi Steffen,
>
> Am 15.10.10 13:00, schrieb Steffen Kamper:
>> Hi Olly,
>>
>> there is a problem as the columns array is null when extensions add
>> columns.
>> This is the case with realurl
>> Fatal error: Unsupported operand types in
>> C:\xampp\htdocs\intro45\typo3conf\ext\realurl\ext_tables.php on line 50
>>
>> as there is
>> $TCA['pages']['columns'] += array( ...
>> (btw realurl should use the API)
>
> Thanks for your review. Indeed realurl should load the columns by
> calling t3lib_div::loadTCA('pages'). However, since the
> dynamicConfigFile was not present until now, it's just the regular case
> for the table pages.
>
> I've added that loadTCA() call after the part where the pages table got
> initialized.
+1 by reading and testing.
s.
More information about the TYPO3-team-core
mailing list