Project

General

Profile

Actions

Bug #19281

closed

Allow subkeys for TypoScript "config." array

Added by Benni Mack about 16 years ago. Updated about 16 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The config. parts in TypoScript from the page-specific config. (e.g. page.config...) and the generic config part are merged together when a page is generated.

However, it is not possible to have subkeys in there:
config.myoption = 1
config.myoption.param1 = foo
page.config.myoption.param2 = bar

In the core right now, param1 will be removed when it is merged and so it's unaccessible. This is because the merge is not done in a recursive way. The attached patch fixes this issue and allows the above examples.

(issue imported from #M9282)


Files

20080903_ts_allow_config_subkeys.patch (1.37 KB) 20080903_ts_allow_config_subkeys.patch Administrator Admin, 2008-09-03 18:43

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #19291: TS subkeys of config.admPanel lost when overwriting with page.config.admPanelClosedBenni Mack2008-09-04

Actions

No data to display

Actions

Also available in: Atom PDF