Project

General

Profile

Actions

Bug #22413

closed

ACT state in TMENUITEM when using expAll = 1

Added by Lina Wolf about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-04-10
Due date:
% Done:

0%

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

Description

The defination of what happens to the ACT-state when using expAll=1 is contradicting itself.

In the "MENUITEM / Common Item States " defination ACT is defined as follows:
"Enable/Configuration for menu items which are found in the rootLine"

in TSref/TMENU for expAll is written:
"his corresponds to a situation where a user has clicked a menuitem and the menu folds out the next level."

Now since the expanded pages are still not in the rootline I would expect only the pages in the rootline to be reached by state ACT. still when expAll = 1 is used all Pages will be marked by ACT therefore ACT and NO will be the same.

Now if you want to generate a Javascript menu where all Elements are expandable but only the active Page is expanded by default you got a problem. It is impossible to make a difference between pages in the rootLine abnd those merely expanded by expAll = 1.

I would sugest changaing the behaviour to NO marking all pages even if expAll = 1 is used and ACT only marking those pages who are indeed in the rootline. Otherwise a state PageInRootline or similar would bve needed.

For the time beeing all Documentation should be updated stating clearly that ACT does not only mark pages in the Rootline but all that have been set to "active" by some Menu action like expAll = 1

(issue imported from #M14053)

Actions #1

Updated by Lina Wolf about 14 years ago

sorry, I was repeating the same error twice. Above bug is not true ;-) Please close

Actions

Also available in: Atom PDF