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 #1

Updated by Bjrn Kraus about 17 years ago

I added a patch file to easily apply the changes.

---
http://www.phoenix-medien.de

Actions #2

Updated by Bjrn Kraus about 16 years ago

Still present in 4.1.6

Actions #3

Updated by Jörg Wagner over 14 years ago

The showActive problem is much larger than described here.
For a full description and solution see http://bugs.typo3.org/view.php?id=12505 [^]

Actions #4

Updated by Benni Mack over 14 years ago

Commited to trunk (rev #6687)
Commited to TYPO3_4-3 (rev #6688)
Commited to TYPO3_4-2 (rev #6689)

Actions

Also available in: Atom PDF