Typoscript Sprachnavigation mit eigenen Get Parametern

tmp.SPRACHE = HMENU
tmp.SPRACHE {
special = language
special.value = 0,1,2,3,4
special.normalWhenNoLanguage = 0
wrap =

|

1 = TMENU
1 {
# Normal link to language that exists:
NO = 1
NO.allWrap.insertData = 1
NO.allWrap = |
| |
|
| |
NO.linkWrap = |
NO.stdWrap.setCurrent = Deutsch || English || Cesky || Magyar || Slovenšcina
NO.stdWrap.current = 1

NO.additionalParams.append = COA
NO.additionalParams.append {
10 = TEXT
10.data = GP:pg
10.required = 1
# sanitize your url
10.rawUrlEncode = 1
10.wrap = &pg=|
20 = TEXT
20.data = GP:pid
20.required = 1
# sanitize your url
20.rawUrlEncode = 1
20.wrap = &pid=|
30 = TEXT
30.data = GP:suchtext
30.required = 1
# sanitize your url
30.rawUrlEncode = 1
30.wrap = &suchtext=|
}
# Current language selected:
ACT < .NO ACT.linkWrap = |
ACT.doNotLinkIt = 1

USERDEF1 = 1
USERDEF1.allWrap = |
USERDEF1.stdWrap.override.cObject = TEXT
USERDEF1.stdWrap.override.cObject.value =  
USERDEF1.doNotLinkIt = 1
}
}
[globalVar = GP:L > 0]
#tmp.SPRACHE.1.NO.stdWrap.setCurrent = german || english
[global]