Hallo
Ich habe ein Problem mit meinem Sprachwechsel. Das Menu funktioniert einwandfrei, die Sprache wird auch entsprechend gewechselt, allerdings wird der Content nur in der Standartsprache angezeigt unabhängig von der gewählten Sprache. Das im News Modul funktioniert der Wechsel einwandfrei.
Hier mein Setup
Vieleicht weiss jemnad von euch einen guten Rat
Pat
config.linkVars =L
config.sys_language_uid = 0
confic.language = de
[globalVar = GP:L=1]
confic.sys_language_uid =1
config.language = fr
[global]
[globalVar = GP:L=2]
confic.sys_language_uid =2
config.language = en
[global]
page = PAGE
page.typeNum = 0
page.bodyTagMargins = 0
page.noLinkUnderline = 0
page.10.subparts.CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
select.languageField = sys_language_uid
}
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/templates/html_template2.tmpl
workOnSubpart = DOCUMENT_BODY
subparts.HEADER = IMAGE
subparts.HEADER.file = fileadmin/mediapool/bilder/header/juraweg.jpg
subparts.ROOTLINE < temp.rootline_html
subparts.DRUCKVERSION < temp.druckversion
subparts.CONTENT < styles.content.get
subparts.CONTENT.wrap = <table width="450" cellspacing="0" cellpadding="0" border="0"><tr><td> | </td></tr></table>
subparts.NAVIGATION < temp.navigation_html
subparts.LEFT < temp.subnavigation_html
subparts.RIGHT < styles.content.getRight
subparts.RIGHT.wrap = <table width="190" cellspacing="10" cellpadding="0" border="0"><tr><td> | </td></tr></table>
subparts.COPYRIGHT < temp.copyright_html
}
page.20 = PHP_SCRIPT
page.20.file = fileadmin/scripts/my_languageMenuphp.inc
page.includeCSS {
file1 = fileadmin/styles/news.css
file1.title = default
file1.media = screen,projection
}
plugin.tt_news.templateFile = fileadmin/templates/tt_news_template.html
[/url]