[Typo3-german] Menu defekt auf mehrsprachiger Seite

Gregor Hermens ghermens at freenet.de
Mon Aug 22 11:27:42 CEST 2005


Hi Christian,

Christian S. wrote:

> was hast Du denn im Template an TypoScript bezüglich der Mehrsprachigkeit
> eingegeben.

config.sys_language_mode = content_fallback ; 1,0
config.sys_language_overlay = 0
config.linkVars = L

[globalVar = GP:L = 0]
config.sys_language_uid = 1
config.language = de
config.htmlTag_langKey = de
config.locale_all = de_DE

[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = de
config.htmlTag_langKey = de
config.locale_all = de_DE

[globalVar = GP:L = 2]
config.sys_language_uid = 2
config.language = de
config.htmlTag_langKey = de
config.locale_all = de_AT

[globalVar = GP:L = 3]
config.sys_language_uid = 3
config.language = en
config.htmlTag_langKey = en
config.locale_all = en_GB

[globalVar = GP:L = 4]
config.sys_language_uid = 4
config.language = en
config.htmlTag_langKey = en
config.locale_all = en_GB

[globalVar = GP:L = 5]
config.sys_language_uid = 5
config.language = en
config.htmlTag_langKey = en
config.locale_all = en_US

[global]

# Und dazu noch das Menu:

page.30 = COA
page.30 {
  wrap = <div id="navi">|</div><!-- End #navi -->

  20 = HMENU
  20.entryLevel = 0
  20.1 = TMENU
  20.1 {
    noBlur = 1
    expAll = 1
    wrap = <ul id="main">|</ul>
    NO {
      ATagBeforeWrap = 0
      linkWrap = <li>|</li>
      stdWrap.htmlSpecialChars = 1
    }
    NO = 1
    IFSUB {
      ATagBeforeWrap = 0
      linkWrap = <li>|
      stdWrap.htmlSpecialChars = 1
    }
    IFSUB = 1
    ACT < .NO
    ACT {
      linkWrap = <li class="active">|</li> 
    }
    ACT = 1
    ACTIFSUB < .IFSUB
    ACTIFSUB {

      linkWrap = <li class="active">|
    }
    ACTIFSUB = 1
    CUR < .NO
    CUR {
      linkWrap = <li class="current">|</li> 
    }
    CUR = 1
    CURIFSUB < .IFSUB

    CURIFSUB {
      linkWrap = <li class="current">|
    }
    CURIFSUB = 1
  }

  20.2 = TMENU
  20.2 {
    noBlur = 1
    wrap = <ul class="sub">|</ul></li>
    NO {
      ATagBeforeWrap = 0
      linkWrap = <li>|</li>
      stdWrap.htmlSpecialChars = 1
    }
    NO = 1
    ACT < .NO
    ACT {
      linkWrap = <li class="current">|</li> 
    }
    ACT = 1
    CUR < .ACT
    CUR = 1
  }
}

Gruß,
Gregor




More information about the TYPO3-german mailing list