【发布时间】:2016-11-10 19:59:06
【问题描述】:
我在 tt_news 中有一个列表,并使用许多包含 tt_news 记录的文件夹。当我过滤和显示特定类别时,我想在此列表中使用不同的模板。
我的排版是:
[globalVar = GP:tx_ttnews|place|0 = 79]
#Display list of specific category
plugin.tt_news.templateFile = fileadmin/templates/plugins/tt_news/different.html
[else]
#General display list
plugin.tt_news.templateFile = fileadmin/templates/plugins/tt_news/general.html
[end]
我使用过plugin.tt_news.templateFile 和plugin.tt_news.file.templateFile,但不起作用。我正在使用最新版本的 tt_news 和 TYPO3 6.2
【问题讨论】:
标签: typo3 typoscript typo3-6.2.x tt-news