Bug #19281

Allow subkeys for TypoScript "config." array

Added by Benjamin Mack over 4 years ago. Updated over 4 years ago.

Status:Closed Start date:2008-09-03
Priority:Should have Due date:
Assignee:Benjamin Mack % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.2 Complexity:
PHP Version:5.0
Votes: 0

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)

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


Related issues

related to Core - Bug #19291: TS subkeys of config.admPanel lost when overwriting with ... Closed 2008-09-04

Also available in: Atom PDF