[FEATURE] Add to "additionalWhere" to TypoScript menus 42/19242/5
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Sun, 28 Dec 2014 17:19:26 +0000 (18:19 +0100)
committerBenjamin Mack <benni@typo3.org>
Tue, 30 Dec 2014 17:29:45 +0000 (18:29 +0100)
commit3ae906f695b3c67bced08cd20340c7464e8df1ef
tree7aa5f480b89749a916209f305f4f2d8a1b26947a
parent5033a33d7b7ed13f6672db6846ad097b8120315b
[FEATURE] Add to "additionalWhere" to TypoScript menus

Allow for TMENU/GMENU to have a new option called
"additionalWhere" to narrow down the SQL query put
in the makeMenu function in the PageRepository.

The patch adds a new TypoScript option which is just
sending an extra parameter to the getMenu() function.

This is possible for all HMENU options supported by
the TYPO3 CMS core.

Releases: master
Resolves: #46624
Change-Id: Ia96b6aa95049ea6de9ecfd4a5adb69e71ccde2b7
Reviewed-on: http://review.typo3.org/19242
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Feature-46624-AdditionalWhereForMenu.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php