[Typo3] HMENU.special = language; &L=0&L=1 - Why ?
Stefan Geith
typo3dev at geithware.de
Mon Mar 14 10:35:24 CET 2005
Hi,
I tried to create a language-menu with HMENU.special=Language;
In my main-menu, I get correct Links, e.g.:
http://test.test.de/1.html?&L=1
http://test.test.de/2.html?&L=1
http://test.test.de/3.html?&L=1
BUT the links in the language-menu look like this:
http://test.test.de/7.html?&L=0&L=1
and
http://test.test.de/7.html?&L=1&L=1
So I never can select another language, because
always the current language is appended to the link ...
When I remove 'config.linkVars = L' form my TS Setup,
then the language-menu works, but in the main-menu
I naturally don't get the L-Paramter ...
Did I miss yomething or is this a bug ?
I used this TS (with Typo3 3.7.0) to create the Language Menu:
like shown in TS-Ref:
config.linkVars = L
config.sys_language_uid = 0
config.language = de
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = en
[global]
...
10 = HMENU
10.special = language
10.special.value = 0,1
10.1 = GMENU
10.1.NO {
XY = [5.w]+4,[5.h]+4
backColor = white
5 = IMAGE
5.file = media/flags/flag_de.gif || media/flags/flag_uk.gif
5.offset = 2,2
}
Thanks for helping !
Stefan
P.S.
No, I don't want to use any language-plugin;
I want to use standard TS.
More information about the TYPO3-english
mailing list