我有以下基于手册的 TS,通过 TypoScript 显示 tx_news 列表/最新视图。
temp.latestnews = USER
temp.latestnews {
userFunc = tx_extbase_core_bootstrap->run
extensionName = News
pluginName = Pi1
switchableControllerActions {
News {
1 = list
}
}
settings {
limit = 5
detailPid = 123
overrideFlexformSettingsIfEmpty := addToList(detailPid)
startingpoint = 456
}
}
In contrary to when using a plugin, all translations are displayed. There should only be posts from the current language. I can't find the setting to enforce that. Or what could be wrong?