Issue Bug Closed

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

Thorben Nissen 10/19/17, 10:18 updated 10/02/18, 10:56

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
        }
    }
}

Reviews 2