Issue Bug Closed

#89444TMENU - CUR not working with subpage and no translated page

Thomas Scheibitz 10/18/19, 10:01 updated 01/13/22, 07:47

Description

If I create a multilingual page with a subpage and the subpage is not translated, I don’t get the desired CUR in the translated page but CURIFSUB when I call it up.

Example:

Default
– Root
– Seite 1
– deutsch

English
– Root
– site 1
– deutsch (this page is not translated )

my config.yml:

rootPageId: 1
base: /
languages:
  - title: Deutsch
    enabled: true
    languageId: '0'
    base: /
    typo3Language: default
    locale: de_DE
    iso-639-1: de
    navigationTitle: Deutsch
    hreflang: de-DE
    direction: ''
    flag: de
  -
    title: English
    enabled: true
    languageId: 1
    base: /en/
    typo3Language: en
    locale: en_US.UTF-8
    iso-639-1: en
    navigationTitle: English
    hreflang: en-us
    direction: ltr
    flag: us
errorHandling: {  }
routes: {  }

my typoscript

lib.navigation.main = HMENU
lib.navigation.main {
    1 = TMENU
    1 {
        expAll = 1
        NO = 1
        NO {
            wrapItemAndSub = <li>|</li>
        }

        ACT < .NO

        CUR < .NO
        CUR {
            linkWrap = 111|222
        }

        CURIFSUB < .NO
        CURIFSUB {
            linkWrap = 333|444
        }

        IFSUB < .NO

        ACTIFSUB < .IFSUB
        wrap = <ul>|</ul>
    }

    2 < .1
}

backend_setup.png

default.png

english.png

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.