Project

General

Profile

Actions

Bug #17186

closed

JSMENU showActive not working with entryLevel (was 1508)

Added by Bjrn Kraus about 17 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
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

0005357.patch (823 Bytes) 0005357.patch Administrator Admin, 2007-04-03 23:32

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #15630: JSMENUITEM & showActive dows not work if entryLevel is setClosedBenni Mack2006-02-15

Actions
Actions

Also available in: Atom PDF