【发布时间】:2017-04-17 16:05:57
【问题描述】:
我使用带有 tx_news 和 metaseo 的 TYPO3 7.6,一切正常,除了新闻的 PageTitle。
我有我的新闻 PageTitle 和 metaseo 我得到第二个 pageTitle“新闻单视图”。 如何删除 metaseo 标题? 或者如何使用 metaseo 获得正确的新闻标题?
下面给出了正确的新闻标题:
config.noPageTitle = 2
[globalVar = GP:tx_news_pi1|news > 0]
temp.newsTitle = RECORDS
temp.newsTitle {
source = {GP:tx_news_pi1|news}
source.insertData = 1
tables = tx_news_domain_model_news
conf {
tx_news_domain_model_news >
tx_news_domain_model_news = TEXT
tx_news_domain_model_news {
field = title
noTrimWrap = || News|
}
}
}
[global]
page.headerData {
190 >
190 = COA
190 < temp.newsTitle
#190.wrap = <title>|</title>
190.wrap = <title>| Вера бахаи в Беларуси</title>
}
[globalVar = GP:L = 1]
page.headerData {
190 >
190 = COA
190 < temp.newsTitle
#190.wrap = <title>|</title>
190.wrap = <title>| Суполкi бахаi ў Беларусi</title>
}
[global]
【问题讨论】:
-
你不需要线路
190 = COA。您稍后用190 < temp.newsTitle覆盖它们,并且 temp.newsTitle 是一个内容对象类型 RECORDS。