Project

General

Profile

Actions

Bug #48300

closed

Entrylevel wrong when switching languages

Added by Florian Scholz almost 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2013-05-16
Due date:
% Done:

100%

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

Description

In a multi-language setup, I get different entrylevel outputs when switching from the default language (German) to another language (English)
Defined value is entrylevel = 1, however the English version behaves like there would have been set entrylevel = 0 in the TypoScript.

Any ideas?

Language settings:

config {
  linkVars = L  
  htmlTag_langKey = de_DE  
  sys_language_uid = 0
  language = de
  locale_all = de_DE
  sys_language_overlay = 1

}

// Language Englisch
[globalVar = GP:L = 1]
  config.linkVars = L
  config.sys_language_uid = 1
  config.language = en
  config.locale_all = en_GB
  config.htmlTag_langKey = en_GB
[global]

Menu TypoScript:

SUBNAVI = COA_INT     
SUBNAVI = HMENU
SUBNAVI {
entryLevel = 1

1 = TMENU

1 {

wrap = <ul class="subMnu">|</ul>
noBlur = 0
NO = 1
NO.wrapItemAndSub = <li class="subMnuSingleBlue">|</li>
CUR < .NO
CUR.ATagParams = class="act" 

IFSUB = 1
IFSUB.wrapItemAndSub = <li class="subMnuBlue">|</li>
CURIFSUB < .IFSUB
CURIFSUB.ATagParams = class="act" 

ACT = 1
ACT < .NO
ACTIFSUB < .CURIFSUB
}

2 = TMENU 
2 {   

wrap = <ul class="subMnu">|</ul>
NO = 1
NO.wrapItemAndSub = <li class ="subMnuGrey">|</li>
CUR < .NO
CUR.ATagParams = class="act" 
ACT = 1
ACT < .CUR   

}
}

(c.f. http://www.typo3.net/forum/beitraege/mehrsprachigkeit/114479/)


Files

test_bug_48300.t3d (3.84 KB) test_bug_48300.t3d Alexander Stehlik, 2013-05-31 13:17
Actions

Also available in: Atom PDF