Hallo zusammen,
Ich habe eine Seite die zweisprachig ist .. EN ist default und DE ist die zweite Sprache ..
Klappt auch alles wunderbar, jedoch moechte ich, dass auch auf der deutschen Version die News nur in englisch angezeigt werden. tt_news soll somit nicht 2-sprachig sein sondern nur 1-sprachig.
Wie ist das moeglich ?
Hier mein tt_news Code:
plugin.tt_news.file.templateFile = fileadmin/html/news_template_new.html
plugin.tt_news.pid_list = 84
plugin.tt_news.singlePid = 173
plugin.tt_news.archiveTypoLink.parameter = 174
plugin.tt_news.showCatRootline = 1
plugin.tt_news.showRelatedNewsByCategory = 1
plugin.tt_news.useHRDates = 1
plugin.tt_news.useBidirectionalRelations = 1
plugin.tt_news.usePagesRelations = 1
plugin.tt_news.useSubCategories = 1
plugin.tt_news.datetimeDaysToArchive = 120
page.includeCSS.file40 = fileadmin/css/news.css
plugin.tt_news.displayLatest.subheader_stdWrap.crop = 80 | ... | 1
plugin.tt_news {
archiveMode = year
archiveTitleCObject >
archiveTitleCObject = COA
archiveTitleCObject{
10 = COA
10{
10=TEXT
10{
field = start
strftime = %b -
wrap = <em>|
}
11 = TEXT
11{
field = stop
strftime = %b
wrap = |</em>
}
if{
value.field = start
equals.data = GPvar:tx_ttnews|pS
}
}
20 = COA
20{
10 = TEXT
10{
field = start
strftime = %b -
wrap =
}
11 = TEXT
11{
field = stop
strftime = %b
wrap =
}
if{
value.field = start
equals.data = GPvar:tx_ttnews|pS
negate = 1
}
}
}
getRelatedCObject {
20.strftime = %d.%m.%Y %H:%M
}
displaySingle {
date_stdWrap.strftime= %d.%m.%y
time_stdWrap.strftime= %H:%M
age_stdWrap.age = Minuten | Stunden | Tage | Jahre
}
displayLatest {
date_stdWrap.strftime= %d.%m.%y
time_stdWrap.strftime= %H:%M
}
displayList {
date_stdWrap.strftime= %A %d. %B %Y
time_stdWrap.strftime= %d.%m.%y %H:%M
}
}