Bei mir liegt bestimmt auch nur an ner Kleinigkeit...
[TS]config.admPanel = 0
config.LinkVars = L
# Standardsprache English
#config.sys_language_overlay = 1
config.sys_language_uid = 1
config.language = en
config.locale_all = en_GB
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
plugin.tx_indexedsearch._CSS_DEFAULT_STYLE >
#footer variablen
temp.footer1 = © 2007 Netzwert AG. All Rights Reserved.
footer3.wrap = Last Change: |
footer3.date = date : m/j/Y
#flagge fuellen
temp.sprache = TEXT
temp.sprache.wrap = <a href="index.php?id={page:uid}|&L=3"><img src="fileadmin/templates/images/flag_germany.gif" border="0"></a>
temp.sprache.field = uid
#ende flagge
#--English
[globalVar = GP:L = 1]
config.locale_all = en_GB
config.htmlTag_langKey = en
config.language = en
config.sys_language_uid = 1
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
plugin.tx_indexedsearch._CSS_DEFAULT_STYLE >
#footer variablen
temp.footer1 = © 2007 Netzwert AG. All Rights Reserved.
footer3.wrap = Last Change: |
footer3.date = date : m/j/Y
#flagge fuellen
temp.sprache = TEXT
temp.sprache.wrap = <a href="index.php?id=|&L=3"><img src="fileadmin/templates/images/flag_germany.gif" border="0"></a>
temp.sprache.field = uid
#ende flagge
# - - - language specific (deutsch)
[globalVar = GP:L = 3]
config.language = de
config.locale_all = de_DE
config.sys_language_uid = 3
config.htmlTag_langKey = de
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
plugin.tx_indexedsearch._CSS_DEFAULT_STYLE >
#footer
temp.footer1 = © 2007 Netzwert AG. Alle Rechte vorbehalten.
footer3.wrap = Letzte Änderung: |
footer3.date = date : j.m.Y
#flagge
temp.sprache = TEXT
temp.sprache.wrap = <a href="index.php?id=|&L=1"><img src="fileadmin/templates/images/flag_great_britain.gif" border="0"></a>
temp.sprache.field = uid
#ende flagge
[global]....[/TS]
und weiter unten:
[TS]lib.lang_select < temp.sprache
[/TS]
Ich dachte config.LinkVars = L sollte es anschalten.....Sprachen sind definiert und die sys_language_uids stimmen.
Gebe ich die L-Parameter manuell ein, dann geht auch die andere Sprache der Seite.
2. Komisch ist, dass noch meine Links in der Flagge so aussehen:
<a href="index.php?id=|&L=1"><img src="fileadmin/templates/images/flag_great_britain.gif" border="0"></a>
Wie bekomm ich denn da die page uid da hinter das id= dynamisch ?
[/TS]

