Actions
Bug #17186
closedJSMENU showActive not working with entryLevel (was 1508)
Start date:
2007-04-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The showActive setting for the JSMENUITEM does not work when setting entryLevel. The problem is in tslib/class.tslib_menu.php
Line 2792 (in TYPO3 4.1.1) is the the Problem because it does not check for an entryLevel.
$active = ($levelConf['showActive'] && $data['uid'] $this->tmpl->rootLine[$count]['uid']);
This can be fixed easyly using the following line
$active = ($levelConf['showActive'] && $data['uid'] $this->tmpl->rootLine[$count+$this->conf['entryLevel']]['uid']);
This bug has formerly reported for TYPO3 3.7 (see http://bugs.typo3.org/view.php?id=1508) but has never been solved.
(issue imported from #M5357)
Files
Actions