Project

General

Profile

Actions

Feature #69423

closed

CSC-Menu should have class "active" for active Element

Added by Philipp Parzer about 9 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-08-31
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It would be nice if the active Element of a Special-Menu had a class like "active" or something else.

For example:

tt_content.menu.20.1.1.ACT < .tt_content.menu.20.1.1.NO
tt_content.menu.20.1.1.ACT = 1
tt_content.menu.20.1.1.ACT.wrapItemAndSub = <li class="active">|</li>
Actions #1

Updated by Markus Klein about 9 years ago

  • Description updated (diff)

Didn't check if that is the case code-wise, but your syntax is wrong in any case

tt_content.menu.20.1.1.ACT < tt_content.menu.20.1.1.NO
tt_content.menu.20.1.1.ACT = 1
tt_content.menu.20.1.1.ACT.wrapItemAndSub = <li class="active">|</li>

Mind the dot I removed.

Actions #2

Updated by Riccardo De Contardi about 9 years ago

  • Status changed from New to Rejected

we are sorry, but we reject this because, although your usecase is valid, the need to have the "active" state is very specific; moreover, the "active" class to mark the ACT menu status is always subject to the individual implementation, so we can not set a general rule for this.

If you think that this is the wrong decision , then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF