Bug #24492
closedlimited count of submenu in contextmenu of pagetree
0%
Description
the count of submenus is limited instead of leveldepth (see images)
Solution:
typo3/sysext/pagetree/classes/contextmenu/class.tx_pagetree_contextmenu_dataprovider.php: line 234:
if ($type === 'SUBMENU') {
$label = $GLOBALS['LANG']->sL($actionConfiguration['label'], TRUE);
$action->setType('submenu');
$action->setChildActions(
//$this->getNextContextMenuLevel($actionConfiguration, $node, +$level)
$this->getNextContextMenuLevel($actionConfiguration, $node, $level + 1) /*Solution $level+1 instead of +$level*/
);
} else {
$label = $GLOBALS['LANG']->sL($actionConfiguration['label'], TRUE);
$action->setType('action');
$action->setCallbackAction($actionConfiguration['callbackAction']);
}
(issue imported from #M16937)
Files
Updated by bjoern schubert almost 14 years ago
can be closed
move to: http://forge.typo3.org/issues/11983