[TYPO3-ttnews] tt_news mit ignoreEnableFields.starttime only show default language

Bucher Roger RUAG Roger.Bucher at ruag.com
Tue Jun 17 08:06:30 CEST 2014


Hello all

I configured typo3 to show scheduled news  (starttime > now) for looged in BE users. That works perfectly with the following TS.
# News preview. Show scheduled news for logged in BE users
[globalVar = TSFE : beUserLogin > 0]
plugin.tt_news {
# activate schedulted news
ignoreEnableFields.starttime = 1
# prepend SPAN element (list view)
displayList.date_stdWrap {
outerWrap = <span class="newspreview">|</span>
outerWrap.if {
# Abfragewert der Bedingung
value.data = date:U

# Bedingung, rückwärts zu lesen: starttime isGreaterThan date:U
isGreaterThan.field = starttime
}
}
# prepend SPAN element (single view)
displaySingle.date_stdWrap {
outerWrap = <span class="newspreview">|</span>
outerWrap.if {
# Abfragewert der Bedingung
value.data = date:U

# Bedingung, rückwärts zu lesen: starttime isGreaterThan date:U
isGreaterThan.field = starttime
}
}
}
[end]

Unfortunately the  news are only displayed in the default language, not in any translated language. Not scheduled news are shown perfectly in all languages.

Any ideas?

Thank you!!!

Roger


Typo3  4.4.2
tt_news 3.0.1


More information about the TYPO3-project-tt-news mailing list