typo3configtyposcripttypolink

how to insert the language id in a typolink in typoscript


i want to add the language id in a typolink

so far

    LOGO = COA
    LOGO {
        10 = TEXT
        10 {
            value = logo
            typolink {
                parameter = 116
                additionalParams = &L={$config.sys_language_uid}
            }
        }
    }

if L=4 it's working

but if i use L={$config.sys_language_uid} it gets ignored altogether

same with L=GP:L and L=GPvar:L

what would be the proper syntax here


Solution

  • working if i do something like

                    additionalParams = COA
                    additionalParams {
                      10 = TEXT
                      10.data = GP : L
                      10.intval = 1
                      10.wrap = &L=|
                    }