[TYPO3-core] RFC #11224: Special menu directory only renders 1st level if special.value is a mount point
Francois Suter
fsu-lists at cobweb.ch
Fri Sep 18 10:46:15 CEST 2009
Hi,
> Solution:
> Make sure to "slide-down" mount point information (_MP_PARAM) to
> children record in the rootline otherwise isNext() method will never
> return TRUE and submenus won't be generated.
+1 after testing. Not +1 after reading yet as I would like more
explanations about the test you introduced:
if (!count($nextMParray) &&
!$this->tmpl->rootLine[$currentLevel]['_MOUNT_OL'] && $currentLevel > 0) {
Could you explain what you are testing here exactly? A comment should be
added to that piece of code, so that it's meaning is clear.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-core
mailing list