Bug #44129
closedisCurrent in other then default language
0%
Description
In the default language is everything ok.
In the other languages no TMENU get the status "current".
typo3\sysext\frontend\Classes\ContentObject\Menu\AbstractMenuContentObject.php
changing line 1482 from
if ($uid && !strcmp(end($this->rL_uidRegister), ('ITEM:' . $testUid))) {
to
if ($uid && $uid==$GLOBALS['TSFE']->id) {
fixes "my" problem.
Updated by Jigal van Hemert over 11 years ago
The solution needs to be different, because it must support Mount Points.
Updated by Mathias Schreiber over 9 years ago
- Target version changed from 6.0.1 to 7.2 (Frontend)
- Is Regression set to No
Updated by Benni Mack almost 9 years ago
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Updated by Susanne Moog almost 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Susanne Moog over 6 years ago
- Category changed from Content Rendering to Localization
Updated by Riccardo De Contardi over 4 years ago
- Status changed from New to Needs Feedback
Does this issue still exist on 9.5? I tried a short test with 9.5.10:
- clean 9.5.10 installation
- two languages: italian (default) and english (id=1)
- I created some pages (at least 2 levels) and translated them
- I added the following TypoScript code:
page = PAGE page.20 = HMENU page.20{ 1 = TMENU 1.expAll = 1 1.wrap = <ul>|</ul> 1.NO.wrapItemAndSub = <li>|</li> 1.CUR = 1 1.CUR.wrapItemAndSub = <li> <strong>current: - </strong>|</li> 1.ACT = 1 1.ACT.wrapItemAndSub = <li> <strong>active: - </strong>|</li> 2 < .1 3 < .1 }
And it seems that the current and active states are set for the translated pages.
Is this test sufficient or should I perform a different test? Could you add a detailed step-by-step test procedure to reproduce this issue? Thank you!
Updated by Riccardo De Contardi over 4 years ago
- Status changed from Needs Feedback to Closed
No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you and best regards