Project

General

Profile

Actions

Bug #24492

closed

limited count of submenu in contextmenu of pagetree

Added by bjoern schubert over 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-01-06
Due date:
% Done:

0%

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

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

original.jpg (58.1 KB) original.jpg Administrator Admin, 2011-01-06 22:55
fixed.jpg (52.1 KB) fixed.jpg Administrator Admin, 2011-01-06 22:55
Actions #1

Updated by bjoern schubert over 13 years ago

Actions #2

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF