Project

General

Profile

Actions

Bug #82810

closed

MenuProcessor doesn't accept sub keys of levels, expandAll, includeSpacer and titleField

Added by Thorben Nissen about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2017-10-19
Due date:
% Done:

100%

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

Description

In the processing, the named properties are evaluated using ContentObjectRenderer::stdWrapValue, but adding sub properties causes exception in MenuProcessor::validateConfiguration.

To allow the full stdWrap capabilities, e.g. using fields from the content element, the sub properties must be allowed.

Example:

dataProcessing {
    10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
    10 {
        levels {
            field = someLevelFieldFromTheRecord
            ifEmpty = 1
        }
    }
}
Actions

Also available in: Atom PDF