Project

General

Profile

Actions

Bug #14995

closed

JSMENU showActive not working with entryLevel

Added by helmuth antholzer about 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-09-29
Due date:
% Done:

0%

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

Description

The showActive for the JSMENU does not work when setting a Entry Level . The problem is in tslib/class.tslib_menu.php

Line 246 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']);

(issue imported from #M1508)

Actions #1

Updated by Mathias Schreiber over 18 years ago

Closed due to general Bugtracker Cleanup.

TYPO3 Version 3.7.1 will no longer be supported.

Actions

Also available in: Atom PDF